fix StepTicker walking off the end of active_motors array if the last motor is removed
[clinton/Smoothieware.git] / src / libs / StepTicker.h
index 5eb0750..911b8d2 100644 (file)
@@ -41,6 +41,7 @@ class StepTicker{
         bool reset_step_pins;
 
         StepperMotor* active_motors[12];
+        uint32_t active_motor_bm;
 };