Browse Source

Fixed config bug when EEPROM was disabled

pull/1/head
Erik van der Zalm 13 years ago
parent
commit
cdf0bd4e63
  1. 3
      Marlin/EEPROMwrite.h

3
Marlin/EEPROMwrite.h

@ -102,6 +102,7 @@ inline void RetrieveSettings(bool def=false)
SERIAL_ECHOLNPGM("Stored settings retreived:"); SERIAL_ECHOLNPGM("Stored settings retreived:");
} }
else else
#endif
{ {
float tmp1[]=DEFAULT_AXIS_STEPS_PER_UNIT; float tmp1[]=DEFAULT_AXIS_STEPS_PER_UNIT;
float tmp2[]=DEFAULT_MAX_FEEDRATE; float tmp2[]=DEFAULT_MAX_FEEDRATE;
@ -173,8 +174,6 @@ inline void RetrieveSettings(bool def=false)
SERIAL_ECHOLN(""); SERIAL_ECHOLN("");
#endif #endif
#endif #endif
#endif //EEPROM_SETTINGS
} }
#endif #endif

Loading…
Cancel
Save