Browse Source

Fixed config bug when EEPROM was disabled

Erik van der Zalm 13 years ago
parent
commit
cdf0bd4e63
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      Marlin/EEPROMwrite.h

+ 1
- 2
Marlin/EEPROMwrite.h View File

@@ -102,6 +102,7 @@ inline void RetrieveSettings(bool def=false)
102 102
       SERIAL_ECHOLNPGM("Stored settings retreived:");
103 103
     }
104 104
     else 
105
+  #endif
105 106
     {
106 107
       float tmp1[]=DEFAULT_AXIS_STEPS_PER_UNIT;
107 108
       float tmp2[]=DEFAULT_MAX_FEEDRATE;
@@ -173,8 +174,6 @@ inline void RetrieveSettings(bool def=false)
173 174
       SERIAL_ECHOLN(""); 
174 175
     #endif
175 176
   #endif
176
-    
177
-  #endif //EEPROM_SETTINGS
178 177
 }  
179 178
 
180 179
 #endif

Loading…
Cancel
Save