From 5e1f0e5e90b678702ad1a455c8f0303811934a86 Mon Sep 17 00:00:00 2001 From: Vertabreaker Date: Sun, 5 Jan 2020 03:19:50 -0500 Subject: [PATCH] Followup to EEPROM patch (#16470) --- Marlin/src/module/configuration_store.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/module/configuration_store.cpp b/Marlin/src/module/configuration_store.cpp index b97d53662751..57a9742010b4 100644 --- a/Marlin/src/module/configuration_store.cpp +++ b/Marlin/src/module/configuration_store.cpp @@ -1145,7 +1145,7 @@ void MarlinSettings::postprocess() { EEPROM_WRITE(planner.extruder_advance_K); #else dummy = 0; - for (uint8_t q = MIN(EXTRUDERS, 1); q--;) EEPROM_WRITE(dummy); + for (uint8_t q = _MIN(EXTRUDERS, 1); q--;) EEPROM_WRITE(dummy); #endif } @@ -1934,7 +1934,7 @@ void MarlinSettings::postprocess() { // Linear Advance // { - float extruder_advance_K[MIN(EXTRUDERS, 1)]; + float extruder_advance_K[_MIN(EXTRUDERS, 1)]; _FIELD_TEST(planner_extruder_advance_K); EEPROM_READ(extruder_advance_K); #if ENABLED(LIN_ADVANCE)