Browse Source

Dcodes: fix daddr_t type when only XFLASH_DUMP is enabled

Yuri D'Elia 3 years ago
parent
commit
c072fbbf02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Firmware/Dcodes.cpp

+ 1 - 1
Firmware/Dcodes.cpp

@@ -24,7 +24,7 @@ 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)
+#if defined(DEBUG_DCODE6) || defined(DEBUG_DCODES) || defined(XFLASH_DUMP)
 #include "xflash.h"
 #include "xflash_layout.h"