diff options
author | Harald Welte <laforge@osmocom.org> | 2019-12-14 11:39:14 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2019-12-14 11:47:06 +0100 |
commit | 3c003cc2faf56da9095f24e4f9478f73a627e2f5 (patch) | |
tree | 2a33a2c0fe4772d8081c702e7c7a96054582cc71 /firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c | |
parent | 37055b928650f6c09902e1677af79fca1ab1807f (diff) |
Fix format string related warnings (int vs. long)
Change-Id: I924a16f03e2a099b9f8eb56746bff2b9101c6802
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.c | 2 |
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); } |