Skip to content

Commit

Permalink
remove stepper event full shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mypeopoly committed Apr 3, 2024
1 parent c8d2e75 commit 78c3e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stepper.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ stepper_event_full(struct timer *t)
return ret;
// Next step event is too close to the last unstep
int32_t diff = s->time.waketime - min_next_time;
if (diff < (int32_t)-timer_from_us(1000))
shutdown("Stepper too far in past");
//if (diff < (int32_t)-timer_from_us(1000))
// shutdown("Stepper too far in past");
reschedule_min:
s->time.waketime = min_next_time;
return SF_RESCHEDULE;
Expand Down

0 comments on commit 78c3e29

Please sign in to comment.