Browse Source

Show Restore Failsafe item with EEPROM off

Scott Lahteine 8 years ago
parent
commit
5e8892d6b5
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Marlin/ultralcd.cpp

+ 4
- 1
Marlin/ultralcd.cpp View File

2507
     #if ENABLED(EEPROM_SETTINGS)
2507
     #if ENABLED(EEPROM_SETTINGS)
2508
       MENU_ITEM(function, MSG_STORE_EEPROM, lcd_store_settings);
2508
       MENU_ITEM(function, MSG_STORE_EEPROM, lcd_store_settings);
2509
       MENU_ITEM(function, MSG_LOAD_EEPROM, lcd_load_settings);
2509
       MENU_ITEM(function, MSG_LOAD_EEPROM, lcd_load_settings);
2510
-      MENU_ITEM(function, MSG_RESTORE_FAILSAFE, lcd_factory_settings);
2510
+    #endif
2511
+    MENU_ITEM(function, MSG_RESTORE_FAILSAFE, lcd_factory_settings);
2512
+    #if ENABLED(EEPROM_SETTINGS)
2511
       MENU_ITEM(gcode, MSG_INIT_EEPROM, PSTR("M502\nM500")); // TODO: Add "Are You Sure?" step
2513
       MENU_ITEM(gcode, MSG_INIT_EEPROM, PSTR("M502\nM500")); // TODO: Add "Are You Sure?" step
2512
     #endif
2514
     #endif
2515
+
2513
     END_MENU();
2516
     END_MENU();
2514
   }
2517
   }
2515
 
2518
 

Loading…
Cancel
Save