Followup to EEPROM patch (#16470)

This commit is contained in:
Vertabreaker 2020-01-05 03:19:50 -05:00 committed by Scott Lahteine
parent bdcccee203
commit 5e1f0e5e90

View file

@ -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)