🎨 Check flags without ENABLED

This commit is contained in:
Scott Lahteine
2021-07-09 17:09:58 -05:00
parent fea4e06484
commit 78c2eb6876
31 changed files with 90 additions and 90 deletions

View File

@ -182,10 +182,10 @@ static uint8_t _card_percent = 0;
static uint16_t _remain_time = 0;
#if ENABLED(PAUSE_HEAT)
#if ENABLED(HAS_HOTEND)
#if HAS_HOTEND
uint16_t resume_hotend_temp = 0;
#endif
#if ENABLED(HAS_HEATED_BED)
#if HAS_HEATED_BED
uint16_t resume_bed_temp = 0;
#endif
#endif

View File

@ -255,13 +255,13 @@ extern char print_filename[16];
extern millis_t dwin_heat_time;
typedef struct {
#if ENABLED(HAS_HOTEND)
#if HAS_HOTEND
celsius_t E_Temp = 0;
#endif
#if ENABLED(HAS_HEATED_BED)
#if HAS_HEATED_BED
celsius_t Bed_Temp = 0;
#endif
#if ENABLED(HAS_FAN)
#if HAS_FAN
int16_t Fan_speed = 0;
#endif
int16_t print_speed = 100;
@ -344,13 +344,13 @@ void HMI_Move_E();
void HMI_Zoffset();
#if ENABLED(HAS_HOTEND)
#if HAS_HOTEND
void HMI_ETemp();
#endif
#if ENABLED(HAS_HEATED_BED)
#if HAS_HEATED_BED
void HMI_BedTemp();
#endif
#if ENABLED(HAS_FAN)
#if HAS_FAN
void HMI_FanSpeed();
#endif