1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

🩹 Followup to EDITABLE_STEPS_PER_UNIT (#26677)

Followup to #26618
This commit is contained in:
ellensp 2024-01-26 12:39:09 +13:00 committed by GitHub
parent 8594e9462c
commit 9b3119393f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1861,8 +1861,10 @@ void MarlinSettings::postprocess() {
EEPROM_READ(planner.settings.min_segment_time_us);
float tmp2[NUM_AXES + e_factors];
EEPROM_READ((uint8_t *)tmp2, sizeof(tmp2)); // axis_steps_per_mm
#if ENABLED(EDITABLE_STEPS_PER_UNIT)
float tmp2[NUM_AXES + e_factors];
EEPROM_READ((uint8_t *)tmp2, sizeof(tmp2)); // axis_steps_per_mm
#endif
feedRate_t tmp3[NUM_AXES + e_factors];
EEPROM_READ((uint8_t *)tmp3, sizeof(tmp3)); // max_feedrate_mm_s