From 378f239ff05330545e097208546880383c138db8 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Tue, 8 Jun 2021 18:57:16 +0200 Subject: [PATCH] dcode_code: fix inverted define to print larger types --- Firmware/Dcodes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/Dcodes.cpp b/Firmware/Dcodes.cpp index 9a78f296..dc92d143 100644 --- a/Firmware/Dcodes.cpp +++ b/Firmware/Dcodes.cpp @@ -145,9 +145,9 @@ void dcode_core(daddr_t addr_start, const daddr_t addr_end, const dcode_mem_t ty count = parse_hex(strchr_pointer + 1, data, 16); write_mem(addr_start, count, data, type); #if DADDR_SIZE > 16 - DBG(_N("%u bytes written to %S at address 0x%08x\n"), count, type_desc, addr_start); -#else DBG(_N("%lu bytes written to %S at address 0x%04lx\n"), count, type_desc, addr_start); +#else + DBG(_N("%u bytes written to %S at address 0x%08x\n"), count, type_desc, addr_start); #endif } print_mem(addr_start, count, type);