Fixed config bug when EEPROM was disabled

hackerspace-green
Erik van der Zalm 2011-11-25 20:07:30 +01:00
parent 6ac9b2e761
commit cdf0bd4e63
1 changed files with 1 additions and 2 deletions

View File

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