🎨 Define HAS_PREHEAT conditional

This commit is contained in:
Scott Lahteine
2021-10-27 21:15:58 -05:00
committed by Scott Lahteine
parent 3b9bea6f80
commit 1d80464ba7
55 changed files with 183 additions and 182 deletions

View File

@@ -69,7 +69,7 @@ void Temperature::lcd_preheat(const uint8_t e, const int8_t indh, const int8_t i
ui.return_to_status();
}
#if PREHEAT_COUNT
#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); }
@@ -138,7 +138,7 @@ void Temperature::lcd_preheat(const uint8_t e, const int8_t indh, const int8_t i
#endif // HAS_MULTI_HOTEND || HAS_HEATED_BED
#endif // PREHEAT_COUNT
#endif // HAS_PREHEAT
#if HAS_TEMP_HOTEND || HAS_HEATED_BED
@@ -263,7 +263,7 @@ void menu_temperature() {
#endif // HAS_FAN
#if PREHEAT_COUNT
#if HAS_PREHEAT
//
// Preheat for all Materials
//