Patch missing const in temp_abs

This commit is contained in:
Scott Lahteine 2017-05-07 21:13:44 -05:00 committed by Scott Lahteine
parent a68084f417
commit 2e61c1fb37

View File

@ -1257,7 +1257,7 @@ void MarlinSettings::reset() {
CONFIG_ECHO_START; CONFIG_ECHO_START;
#if ENABLED(TEMPERATURE_UNITS_SUPPORT) #if ENABLED(TEMPERATURE_UNITS_SUPPORT)
extern TempUnit input_temp_units; 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) #define TEMP_UNIT(N) temp_abs(N)
SERIAL_ECHOPGM(" M149 "); SERIAL_ECHOPGM(" M149 ");
SERIAL_CHAR(input_temp_units == TEMPUNIT_K ? 'K' : input_temp_units == TEMPUNIT_F ? 'F' : 'C'); SERIAL_CHAR(input_temp_units == TEMPUNIT_K ? 'K' : input_temp_units == TEMPUNIT_F ? 'F' : 'C');