aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKévin Redon <kredon@sysmocom.de>2018-08-28 19:26:11 +0200
committerKévin Redon <kredon@sysmocom.de>2018-09-03 21:11:44 +0200
commitba15387b09b38a3ec120240be152d883f33a02de (patch)
tree2ce73d09092789fb1e40016e0351e52c0cfd8f1c
parentc171112994117b172ef4394cbb4d85ab6326369b (diff)
DFU: fix Wformat compile warning
-rw-r--r--firmware/apps/dfu/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/apps/dfu/main.c b/firmware/apps/dfu/main.c
index 7f8fbfc..f9b6aed 100644
--- a/firmware/apps/dfu/main.c
+++ b/firmware/apps/dfu/main.c
@@ -256,7 +256,7 @@ extern int main(void)
TRACE_INFO("Serial Nr. %08x-%08x-%08x-%08x\n\r",
g_unique_id[0], g_unique_id[1],
g_unique_id[2], g_unique_id[3]);
- TRACE_INFO("Reset Cause: 0x%x\n\r", reset_cause);
+ TRACE_INFO("Reset Cause: 0x%lx\n\r", reset_cause);
#if (TRACE_LEVEL >= TRACE_LEVEL_INFO)
/* Find out why we are in the DFU bootloader, and not the main application */