Fix Baby Stepping on 32-Bit platforms (#8001)
Also, Max7219 debug code was used for this effort. It has been improved and hardened.
This commit is contained in:
parent
3b7b0492f8
commit
6cb26c98c8
6 changed files with 196 additions and 61 deletions
|
|
@ -1294,6 +1294,7 @@ void Stepper::report_positions() {
|
|||
_ENABLE(AXIS); \
|
||||
_SAVE_START; \
|
||||
_APPLY_DIR(AXIS, _INVERT_DIR(AXIS)^direction^INVERT); \
|
||||
_PULSE_WAIT; \
|
||||
_APPLY_STEP(AXIS)(!_INVERT_STEP_PIN(AXIS), true); \
|
||||
_PULSE_WAIT; \
|
||||
_APPLY_STEP(AXIS)(_INVERT_STEP_PIN(AXIS), true); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue