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 authored and Andy-Big committed Jul 2, 2023
1 parent 2231d52 commit 2b9113b
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 @@ -1438,7 +1438,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 2b9113b

Please sign in to comment.