From 1b41e1f6456c73e05390a87445001bbc04a60517 Mon Sep 17 00:00:00 2001 From: Bob-the-Kuhn Date: Wed, 31 May 2017 13:59:49 -0500 Subject: [PATCH] another compile error only seen if #if ENABLED(TEMPERATURE_UNITS_SUPPORT) ... #if ENABLED(ULTIPANEL) && DISABLED(DISABLE_M503) --- Marlin/gcode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/gcode.h b/Marlin/gcode.h index 3d66499ef9..007bc6dccd 100644 --- a/Marlin/gcode.h +++ b/Marlin/gcode.h @@ -227,7 +227,7 @@ public: return input_temp_units == TEMPUNIT_K ? 'K' : input_temp_units == TEMPUNIT_F ? 'F' : 'C'; } FORCE_INLINE static char* temp_units_name() { - return input_temp_units == TEMPUNIT_K ? PSTR("Kelvin") : input_temp_units == TEMPUNIT_F ? PSTR("Fahrenheit") : PSTR("Celsius") + return input_temp_units == TEMPUNIT_K ? PSTR("Kelvin") : input_temp_units == TEMPUNIT_F ? PSTR("Fahrenheit") : PSTR("Celsius"); } inline static float to_temp_units(const float &f) { switch (input_temp_units) {