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:
1 parent
3b7b0492f8
commit
6cb26c98c8
6 files changed
+196
-61
No files matched your search
@@ -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); \
|
||||
|
||||
@@ -441,7 +441,7 @@ class Temperature {
|
||||
|
||||
#if ENABLED(BABYSTEPPING)
|
||||
|
||||
static void babystep_axis(const AxisEnum axis, const int distance) {
|
||||
static void babystep_axis(const AxisEnum axis, const int16_t distance) {
|
||||
if (axis_known_position[axis]) {
|
||||
#if IS_CORE
|
||||
#if ENABLED(BABYSTEP_XY)
|
||||
|
||||
Reference in new issue
Block a user