Fixed config bug when EEPROM was disabled

This commit is contained in:
Erik van der Zalm 2011-11-25 20:07:30 +01:00
parent 6ac9b2e761
commit cdf0bd4e63

View file

@ -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