Browse Source

Fix CONTROLLER_FAN options compile

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
fe154fa5de
  1. 2
      Marlin/src/feature/controllerfan.h

2
Marlin/src/feature/controllerfan.h

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

Loading…
Cancel
Save