Skip to content

Commit

Permalink
🩹 Fix EEPROM write for !LIN_ADVANCE
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Dec 16, 2022
1 parent fc2f3cd commit 7002e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ void MarlinSettings::postprocess() {
EEPROM_WRITE(planner.extruder_advance_K);
#else
dummyf = 0;
for (uint8_t q = _MAX(EXTRUDERS, 1); q--;) EEPROM_WRITE(dummyf);
for (uint8_t q = DISTINCT_E; q--;) EEPROM_WRITE(dummyf);
#endif
}

Expand Down

0 comments on commit 7002e72

Please sign in to comment.