Skip to content

Commit

Permalink
🩹 Followup to EDITABLE_STEPS_PER_UNIT (MarlinFirmware#26677)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp committed Jan 25, 2024
1 parent 8594e94 commit 9b31193
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Marlin/src/module/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b31193

Please sign in to comment.