1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-29 17:19:50 +02:00

Changed macro pin reporting to be a single character

This commit is contained in:
bdring
2020-12-06 12:05:37 -06:00
parent 00e0e7843e
commit f518a4945c

View File

@@ -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");
}
}
}