From 7ce13a6ec102eb32d15bcc70a532ad367a8c034f Mon Sep 17 00:00:00 2001 From: Tobias Frost Date: Tue, 5 Mar 2019 13:39:15 +0100 Subject: [PATCH] Fix a print_job_timer compile error (#13304) --- Marlin/src/lcd/extensible_ui/ui_api.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Marlin/src/lcd/extensible_ui/ui_api.cpp b/Marlin/src/lcd/extensible_ui/ui_api.cpp index 7165b5eefa..1cbd9b007a 100644 --- a/Marlin/src/lcd/extensible_ui/ui_api.cpp +++ b/Marlin/src/lcd/extensible_ui/ui_api.cpp @@ -51,9 +51,14 @@ #include "../../module/planner.h" #include "../../module/probe.h" #include "../../module/temperature.h" +#include "../../module/printcounter.h" #include "../../libs/duration_t.h" #include "../../HAL/shared/Delay.h" +#if ENABLED(PRINTCOUNTER) + #include "../../core/utility.h" +#endif + #if DO_SWITCH_EXTRUDER || ENABLED(SWITCHING_NOZZLE) || ENABLED(PARKING_EXTRUDER) #include "../../module/tool_change.h" #endif @@ -69,11 +74,6 @@ #define IFSD(A,B) (B) #endif -#if ENABLED(PRINTCOUNTER) - #include "../../core/utility.h" - #include "../../module/printcounter.h" -#endif - #if HAS_TRINAMIC && HAS_LCD_MENU #include "../../feature/tmc_util.h" #endif