From ba15387b09b38a3ec120240be152d883f33a02de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Redon?= Date: Tue, 28 Aug 2018 19:26:11 +0200 Subject: [PATCH] DFU: fix Wformat compile warning Change-Id: I8c422d8a709f8311c40d37e1f1f01dcd3a199b6f --- firmware/apps/dfu/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/apps/dfu/main.c b/firmware/apps/dfu/main.c index 7f8fbfcb..f9b6aeda 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 */