diff --git a/Grbl_Esp32/data/config.yaml b/Grbl_Esp32/data/config.yaml index a2fe6a12..350c1009 100644 --- a/Grbl_Esp32/data/config.yaml +++ b/Grbl_Esp32/data/config.yaml @@ -30,6 +30,7 @@ axes: seek_rate: 200.000 debounce_ms: 500 pulloff: 1.000 + square: false gang0: endstops: 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) {