🎨 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

@@ -116,7 +116,7 @@
};
#endif
#if PREHEAT_COUNT
#if HAS_PREHEAT
typedef struct {
#if HAS_HOTEND
celsius_t hotend_temp;
@@ -497,7 +497,7 @@ public:
static const char * scrolled_filename(CardReader &theCard, const uint8_t maxlen, uint8_t hash, const bool doScroll);
#endif
#if PREHEAT_COUNT
#if HAS_PREHEAT
static preheat_t material_preset[PREHEAT_COUNT];
static PGM_P get_preheat_label(const uint8_t m);
#endif