Cleanup some vars, use of min/max
This commit is contained in:
parent
d19cfcfc1d
commit
761593b74b
2 changed files with 19 additions and 24 deletions
|
|
@ -265,8 +265,8 @@ uint8_t Temperature::soft_pwm[HOTENDS];
|
|||
#endif
|
||||
;
|
||||
|
||||
max = max(max, input);
|
||||
min = min(min, input);
|
||||
NOLESS(max, input);
|
||||
NOMORE(min, input);
|
||||
|
||||
#if HAS_AUTO_FAN
|
||||
if (ELAPSED(ms, next_auto_fan_check_ms)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue