🎨 Check flags without ENABLED
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user