aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-12-14 11:39:14 +0100
committerHarald Welte <laforge@osmocom.org>2019-12-14 11:47:06 +0100
commit3c003cc2faf56da9095f24e4f9478f73a627e2f5 (patch)
tree2a33a2c0fe4772d8081c702e7c7a96054582cc71 /firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c
parent37055b928650f6c09902e1677af79fca1ab1807f (diff)
Fix format string related warnings (int vs. long)
Diffstat (limited to 'firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c')
-rw-r--r--firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c
index 4f772be..4467cc9 100644
--- a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c
+++ b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c
@@ -68,7 +68,7 @@ static void __dfufunc handle_getstate(void)
{
uint8_t u8 = g_dfu->state;
- TRACE_DEBUG("handle_getstate(%u)\n\r", g_dfu->state);
+ TRACE_DEBUG("handle_getstate(%lu)\n\r", g_dfu->state);
USBD_Write(0, (char *)&u8, sizeof(u8), NULL, 0);
}