From d82456d63efeb6f11c4e8371bc6f44f6549ce482 Mon Sep 17 00:00:00 2001 From: bdring Date: Sun, 25 Jul 2021 09:30:42 -0500 Subject: [PATCH] WIP Homing Fixed motorMask calc --- Grbl_Esp32/src/Machine/Gang.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {