From 6de98f7b0d3973037e421ef410c2875613fd3948 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sat, 12 Jun 2021 15:33:18 +0200 Subject: [PATCH] Move inclusion closer to the usage point --- Firmware/ultralcd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index b277df4c..c2c14883 100755 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -29,8 +29,6 @@ //#include "Configuration.h" #include "cmdqueue.h" -#include "xflash_dump.h" - #ifdef FILAMENT_SENSOR #include "pat9125.h" #include "fsensor.h" @@ -1804,6 +1802,8 @@ static void lcd_preheat_menu() #ifdef MENU_DUMP +#include "xflash_dump.h" + static void lcd_dump_memory() { lcd_beeper_quick_feedback();