|
|
@ -47,7 +47,9 @@ |
|
|
|
// "Temperature" submenu items
|
|
|
|
//
|
|
|
|
|
|
|
|
void Temperature::lcd_preheat(const uint8_t e, const int8_t indh, const int8_t indb) { |
|
|
|
#if HAS_PREHEAT |
|
|
|
|
|
|
|
void Temperature::lcd_preheat(const uint8_t e, const int8_t indh, const int8_t indb) { |
|
|
|
UNUSED(e); UNUSED(indh); UNUSED(indb); |
|
|
|
#if HAS_HOTEND |
|
|
|
if (indh >= 0 && ui.material_preset[indh].hotend_temp > 0) |
|
|
@ -67,9 +69,7 @@ void Temperature::lcd_preheat(const uint8_t e, const int8_t indh, const int8_t i |
|
|
|
} |
|
|
|
#endif |
|
|
|
ui.return_to_status(); |
|
|
|
} |
|
|
|
|
|
|
|
#if HAS_PREHEAT |
|
|
|
} |
|
|
|
|
|
|
|
#if HAS_TEMP_HOTEND |
|
|
|
inline void _preheat_end(const uint8_t m, const uint8_t e) { thermalManager.lcd_preheat(e, m, -1); } |
|
|
|