From 6e4a5cc8c633dd385b44a844d5145f1081fb5352 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sun, 7 May 2017 21:13:44 -0500
Subject: [PATCH] Patch missing const in temp_abs

---
 Marlin/configuration_store.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/configuration_store.cpp b/Marlin/configuration_store.cpp
index 0a87969702..ef7e040147 100644
--- a/Marlin/configuration_store.cpp
+++ b/Marlin/configuration_store.cpp
@@ -1257,7 +1257,7 @@ void MarlinSettings::reset() {
       CONFIG_ECHO_START;
       #if ENABLED(TEMPERATURE_UNITS_SUPPORT)
         extern TempUnit input_temp_units;
-        extern float temp_abs(float &f);
+        extern float temp_abs(const float &f);
         #define TEMP_UNIT(N) temp_abs(N)
         SERIAL_ECHOPGM("  M149 ");
         SERIAL_CHAR(input_temp_units == TEMPUNIT_K ? 'K' : input_temp_units == TEMPUNIT_F ? 'F' : 'C');
-- 
GitLab