Commit f6f4d5e
committed
toolhead: Avoid pausing an infinitesimal amount of time
Only pause if the duration is worthwhile. Due to differences in mcu
clock vs system clock it's possible to repeatedly underestimate a
system delay needed to bring about a sufficient mcu time - which just
wastes cpu cycles retrying a pause. Once the time difference is
negligible it's okay to continue.
Signed-off-by: Kevin O'Connor <[email protected]>1 parent ac6f059 commit f6f4d5e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
0 commit comments