🩹 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