Fixed config bug when EEPROM was disabled

master
Erik van der Zalm 13 years ago
parent 6ac9b2e761
commit cdf0bd4e63

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