🩹 Fix EEPROM write for !LIN_ADVANCE

Fixes #24963
Followup to #24821
This commit is contained in:
Scott Lahteine 2022-11-06 23:49:38 -06:00
parent fc2f3cdf40
commit 7002e72f1c

View File

@ -1421,7 +1421,7 @@ void MarlinSettings::postprocess() {
EEPROM_WRITE(planner.extruder_advance_K); EEPROM_WRITE(planner.extruder_advance_K);
#else #else
dummyf = 0; dummyf = 0;
for (uint8_t q = _MAX(EXTRUDERS, 1); q--;) EEPROM_WRITE(dummyf); for (uint8_t q = DISTINCT_E; q--;) EEPROM_WRITE(dummyf);
#endif #endif
} }