From fe154fa5dee7c2c3a796c9fd634fd422ee944103 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 22 Mar 2020 00:00:19 -0500 Subject: [PATCH] Fix CONTROLLER_FAN options compile --- Marlin/src/feature/controllerfan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/feature/controllerfan.h b/Marlin/src/feature/controllerfan.h index bc48a6e261..cd56ff8ced 100644 --- a/Marlin/src/feature/controllerfan.h +++ b/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(); }