Browse Source

Move inclusion closer to the usage point

Yuri D'Elia 3 years ago
parent
commit
6de98f7b0d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Firmware/ultralcd.cpp

+ 2 - 2
Firmware/ultralcd.cpp

@@ -29,8 +29,6 @@
 //#include "Configuration.h"
 //#include "Configuration.h"
 #include "cmdqueue.h"
 #include "cmdqueue.h"
 
 
-#include "xflash_dump.h"
-
 #ifdef FILAMENT_SENSOR
 #ifdef FILAMENT_SENSOR
 #include "pat9125.h"
 #include "pat9125.h"
 #include "fsensor.h"
 #include "fsensor.h"
@@ -1804,6 +1802,8 @@ static void lcd_preheat_menu()
 
 
 
 
 #ifdef MENU_DUMP
 #ifdef MENU_DUMP
+#include "xflash_dump.h"
+
 static void lcd_dump_memory()
 static void lcd_dump_memory()
 {
 {
     lcd_beeper_quick_feedback();
     lcd_beeper_quick_feedback();