LULZBOT_TOUCH_UI fixes. Fix some warnings. (#15276)

This commit is contained in:
Marcio Teixeira
2019-09-16 15:49:46 -06:00
committed by Scott Lahteine
parent 847e4ced11
commit 7a569ad4d0
16 changed files with 92 additions and 41 deletions

View File

@ -170,6 +170,8 @@ namespace ExtUI {
void enableHeater(const extruder_t extruder) {
#if HOTENDS && HEATER_IDLE_HANDLER
thermalManager.reset_heater_idle_timer(extruder - E0);
#else
UNUSED(extruder);
#endif
}
@ -190,6 +192,8 @@ namespace ExtUI {
#endif
break;
}
#else
UNUSED(heater);
#endif
}
@ -197,6 +201,8 @@ namespace ExtUI {
return false
#if HOTENDS && HEATER_IDLE_HANDLER
|| thermalManager.hotend_idle[extruder - E0].timed_out
#else
; UNUSED(extruder)
#endif
;
}
@ -218,6 +224,7 @@ namespace ExtUI {
#endif
}
#else
UNUSED(heater);
return false;
#endif
}