diff --git a/Grbl_Esp32/src/Machine/Gang.cpp b/Grbl_Esp32/src/Machine/Gang.cpp index bd440d0e..8cdda133 100644 --- a/Grbl_Esp32/src/Machine/Gang.cpp +++ b/Grbl_Esp32/src/Machine/Gang.cpp @@ -37,7 +37,7 @@ namespace Machine { void Gang::init() { if (strcmp(_motor->name(), "null_motor") != 0) { - bitnum_istrue(Machine::Axes::motorMask, _axis + 16 * _gang); + bitnum_true(Machine::Axes::motorMask, _axis + 16 * _gang); } _motor->init(); if (_endstops) {