|
|
@ -58,7 +58,7 @@ class ControllerFan {
|
|
|
|
#if ENABLED(CONTROLLER_FAN_EDITABLE)
|
|
|
|
#if ENABLED(CONTROLLER_FAN_EDITABLE)
|
|
|
|
static controllerFan_settings_t settings;
|
|
|
|
static controllerFan_settings_t settings;
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
static const controllerFan_settings_t &settings = controllerFan_defaults;
|
|
|
|
static const controllerFan_settings_t constexpr &settings = controllerFan_defaults;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
static inline bool state() { return speed > 0; }
|
|
|
|
static inline bool state() { return speed > 0; }
|
|
|
|
static inline void init() { reset(); }
|
|
|
|
static inline void init() { reset(); }
|
|
|
|