Get UBL up and running again
All the changes to get the code into compliance with Marlin coding standards made UBL sick. This pretty much gets UBL back up and running.
This commit is contained in:
parent
5de1da2b3c
commit
b8e4a6970b
3 changed files with 57 additions and 50 deletions
|
|
@ -1263,7 +1263,7 @@ void Stepper::report_positions() {
|
|||
old_pin = _READ_DIR(X);
|
||||
#if STEP_PULSE_CYCLES > CYCLES_EATEN_BY_BABYSTEP
|
||||
pulse_start = TCNT0;
|
||||
#endif \
|
||||
#endif
|
||||
START_BABYSTEP_AXIS(X, false);
|
||||
#if STEP_PULSE_CYCLES > CYCLES_EATEN_BY_BABYSTEP
|
||||
while ((uint32_t)(TCNT0 - pulse_start) < STEP_PULSE_CYCLES - CYCLES_EATEN_BY_BABYSTEP) { /* nada */ }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue