From f518a4945c238199d5aaa4e63fcd93ec20c71938 Mon Sep 17 00:00:00 2001 From: bdring Date: Sun, 6 Dec 2020 12:05:37 -0600 Subject: [PATCH] Changed macro pin reporting to be a single character --- Grbl_Esp32/src/Report.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Grbl_Esp32/src/Report.cpp b/Grbl_Esp32/src/Report.cpp index 20cff520..ce35714f 100644 --- a/Grbl_Esp32/src/Report.cpp +++ b/Grbl_Esp32/src/Report.cpp @@ -753,16 +753,16 @@ void report_realtime_status(uint8_t client) { strcat(status, "S"); } if (ctrl_pin_state.bit.macro0) { - strcat(status, "M0"); + strcat(status, "0"); } if (ctrl_pin_state.bit.macro1) { - strcat(status, "M1"); + strcat(status, "1"); } if (ctrl_pin_state.bit.macro2) { - strcat(status, "M2"); + strcat(status, "2"); } if (ctrl_pin_state.bit.macro3) { - strcat(status, "M3"); + strcat(status, "3"); } } }