|
@ -206,15 +206,18 @@ unsigned char Temperature::soft_pwm[HOTENDS]; |
|
|
next_auto_fan_check_ms = temp_ms + 2500UL; |
|
|
next_auto_fan_check_ms = temp_ms + 2500UL; |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
if (false |
|
|
if (hotend >= |
|
|
#if ENABLED(PIDTEMP) |
|
|
#if ENABLED(PIDTEMP) |
|
|
|| hotend >= HOTENDS |
|
|
HOTENDS |
|
|
#else |
|
|
#else |
|
|
|| hotend >= 0 |
|
|
0 |
|
|
#endif |
|
|
#endif |
|
|
#if DISABLED(PIDTEMPBED) |
|
|
|| hotend < |
|
|
|| hotend < 0 |
|
|
#if ENABLED(PIDTEMPBED) |
|
|
#endif |
|
|
-1 |
|
|
|
|
|
#else |
|
|
|
|
|
0 |
|
|
|
|
|
#endif |
|
|
) { |
|
|
) { |
|
|
SERIAL_ECHOLN(MSG_PID_BAD_EXTRUDER_NUM); |
|
|
SERIAL_ECHOLN(MSG_PID_BAD_EXTRUDER_NUM); |
|
|
return; |
|
|
return; |
|
|