From af636c7f2ac7a80e71d998871484db6c4761b547 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Tue, 8 Jun 2021 15:18:33 +0200 Subject: [PATCH] Move "xflash" include inside the conditional --- Firmware/Dcodes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Firmware/Dcodes.cpp b/Firmware/Dcodes.cpp index d6ab3d99..9de93f77 100644 --- a/Firmware/Dcodes.cpp +++ b/Firmware/Dcodes.cpp @@ -3,7 +3,6 @@ #include "Configuration.h" #include "language.h" #include "cmdqueue.h" -#include "xflash.h" #include #include @@ -26,6 +25,8 @@ void print_hex_byte(uint8_t val) // debug range address type (fits all SRAM/PROGMEM/XFLASH memory ranges) #if defined(DEBUG_DCODE6) || defined(DEBUG_DCODES) +#include "xflash.h" + #define DADDR_SIZE 32 typedef uint32_t daddr_t; // XFLASH requires 24 bits #else