HCoop
/
clinton
/
Smoothieware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix StepTicker walking off the end of active_motors array if the last motor is removed
[clinton/Smoothieware.git]
/
src
/
libs
/
StepTicker.h
diff --git
a/src/libs/StepTicker.h
b/src/libs/StepTicker.h
index
5eb0750
..
911b8d2
100644
(file)
--- a/
src/libs/StepTicker.h
+++ b/
src/libs/StepTicker.h
@@
-41,6
+41,7
@@
class StepTicker{
bool reset_step_pins;
StepperMotor* active_motors[12];
+ uint32_t active_motor_bm;
};