mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-02 19:02:35 +02:00
Use axisName() in Report.cpp instead of the hardcoded list
This commit is contained in:
@@ -674,7 +674,7 @@ void report_realtime_status(uint8_t client) {
|
||||
auto n_axis = config->_axes->_numberAxis;
|
||||
for (int i = 0; i < n_axis; i++) {
|
||||
if (bit_istrue(lim_pin_state, bit(i))) {
|
||||
addPinReport(status, "XYZABC"[i]);
|
||||
addPinReport(status, config->_axes->axisName(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user