Browse Source

Fix CONTROLLER_FAN options compile

Scott Lahteine 5 years ago
parent
commit
fe154fa5de
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/controllerfan.h

+ 1
- 1
Marlin/src/feature/controllerfan.h View File

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

Loading…
Cancel
Save