🎨 Check flags without ENABLED

This commit is contained in:
Scott Lahteine
2021-07-09 17:09:58 -05:00
parent 6cbd21d0d4
commit 26bfc26797
31 changed files with 90 additions and 90 deletions

View File

@@ -111,13 +111,13 @@
#if PREHEAT_COUNT
typedef struct {
#if ENABLED(HAS_HOTEND)
#if HAS_HOTEND
celsius_t hotend_temp;
#endif
#if ENABLED(HAS_HEATED_BED)
#if HAS_HEATED_BED
celsius_t bed_temp;
#endif
#if ENABLED(HAS_FAN)
#if HAS_FAN
uint16_t fan_speed;
#endif
} preheat_t;
@@ -135,12 +135,12 @@
static int8_t constexpr e_index = 0;
#endif
static millis_t start_time;
#if ENABLED(IS_KINEMATIC)
#if IS_KINEMATIC
static xyze_pos_t all_axes_destination;
#endif
public:
static float menu_scale;
#if ENABLED(IS_KINEMATIC)
#if IS_KINEMATIC
static float offset;
#endif
template <typename T>