Browse Source

xflash_dump is now always required in all variants

Yuri D'Elia 3 years ago
parent
commit
01934b89e9
2 changed files with 2 additions and 7 deletions
  1. 0 2
      Firmware/Marlin_main.cpp
  2. 2 5
      Firmware/ultralcd.cpp

+ 0 - 2
Firmware/Marlin_main.cpp

@@ -109,9 +109,7 @@
 #include "optiboot_xflash.h"
 #endif //XFLASH
 
-#ifdef XFLASH_DUMP
 #include "xflash_dump.h"
-#endif
 
 #ifdef BLINKM
 #include "BlinkM.h"

+ 2 - 5
Firmware/ultralcd.cpp

@@ -30,6 +30,7 @@
 #include "cmdqueue.h"
 
 #include "SdFatUtil.h"
+#include "xflash_dump.h"
 
 #ifdef FILAMENT_SENSOR
 #include "pat9125.h"
@@ -1804,8 +1805,6 @@ static void lcd_preheat_menu()
 
 
 #ifdef MENU_DUMP
-#include "xflash_dump.h"
-
 static void lcd_dump_memory()
 {
     lcd_beeper_quick_feedback();
@@ -6722,9 +6721,7 @@ static void lcd_main_menu()
 }
 
 
-#ifdef EMERGENCY_DUMP
-#include "xflash_dump.h"
-#elif defined(EMERGENCY_SERIAL_DUMP)
+#ifdef EMERGENCY_SERIAL_DUMP
 #include "Dcodes.h"
 #endif