mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-29 17:19:50 +02:00
Oops
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "../Motors/Motor.h"
|
||||
#include "../Motors/NullMotor.h"
|
||||
#include "Axes.h"
|
||||
#include "Endstops.h"
|
||||
|
||||
namespace Machine {
|
||||
@@ -35,8 +36,8 @@ namespace Machine {
|
||||
}
|
||||
|
||||
void Gang::init() {
|
||||
if (strcmp(_motor->name, "null_motor") != 0) {
|
||||
bitnum_istrue(Axes::motorMask, _axis + 16 * i);
|
||||
if (strcmp(_motor->name(), "null_motor") != 0) {
|
||||
bitnum_istrue(Machine::Axes::motorMask, _axis + 16 * _gang);
|
||||
}
|
||||
_motor->init();
|
||||
if (_endstops) {
|
||||
|
Reference in New Issue
Block a user