Report EEPROM data size, not final index
This commit is contained in:
parent
78d6d6e076
commit
3bd76f60e4
@ -240,6 +240,7 @@ void Config_Postprocess() {
|
|||||||
|
|
||||||
const uint8_t esteppers = E_STEPPERS;
|
const uint8_t esteppers = E_STEPPERS;
|
||||||
EEPROM_WRITE(esteppers);
|
EEPROM_WRITE(esteppers);
|
||||||
|
|
||||||
EEPROM_WRITE(planner.axis_steps_per_mm);
|
EEPROM_WRITE(planner.axis_steps_per_mm);
|
||||||
EEPROM_WRITE(planner.max_feedrate_mm_s);
|
EEPROM_WRITE(planner.max_feedrate_mm_s);
|
||||||
EEPROM_WRITE(planner.max_acceleration_mm_per_s2);
|
EEPROM_WRITE(planner.max_acceleration_mm_per_s2);
|
||||||
@ -439,7 +440,7 @@ void Config_Postprocess() {
|
|||||||
|
|
||||||
// Report storage size
|
// Report storage size
|
||||||
SERIAL_ECHO_START;
|
SERIAL_ECHO_START;
|
||||||
SERIAL_ECHOPAIR("Settings Stored (", eeprom_size);
|
SERIAL_ECHOPAIR("Settings Stored (", eeprom_size - (EEPROM_OFFSET));
|
||||||
SERIAL_ECHOLNPGM(" bytes)");
|
SERIAL_ECHOLNPGM(" bytes)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -680,7 +681,7 @@ void Config_Postprocess() {
|
|||||||
Config_Postprocess();
|
Config_Postprocess();
|
||||||
SERIAL_ECHO_START;
|
SERIAL_ECHO_START;
|
||||||
SERIAL_ECHO(version);
|
SERIAL_ECHO(version);
|
||||||
SERIAL_ECHOPAIR(" stored settings retrieved (", eeprom_index);
|
SERIAL_ECHOPAIR(" stored settings retrieved (", eeprom_index - (EEPROM_OFFSET));
|
||||||
SERIAL_ECHOLNPGM(" bytes)");
|
SERIAL_ECHOLNPGM(" bytes)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user