1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 12:35:51 +00:00

Tweak an EEPROM loop

This commit is contained in:
Scott Lahteine 2017-11-06 20:16:57 -06:00 committed by GitHub
parent 8e8787ad63
commit 298863c2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1088,7 +1088,7 @@ void MarlinSettings::postprocess() {
stepperE4.setCurrent(val, R_SENSE, HOLD_MULTIPLIER);
#endif
#else
for (uint8_t q = 0; q < 11; q++) EEPROM_READ(val);
for (uint8_t q = 11; q--;) EEPROM_READ(val);
#endif
//