Test time difference in safe way
This commit is contained in:
parent
562e281c73
commit
386140f361
9 changed files with 60 additions and 57 deletions
|
|
@ -491,7 +491,7 @@ void check_axes_activity() {
|
|||
fan_kick_end[f] = ms + FAN_KICKSTART_TIME; \
|
||||
tail_fan_speed[f] = 255; \
|
||||
} else { \
|
||||
if (fan_kick_end[f] > ms) { \
|
||||
if (PENDING(ms, fan_kick_end[f])) { \
|
||||
tail_fan_speed[f] = 255; \
|
||||
} \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue