summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-11-21 21:00:10 +0800
committersakumisu <[email protected]>2024-11-21 21:00:10 +0800
commitea038563371c631e69bb9e4447c3e28cbdd4223d (patch)
tree740b8d69125a8f2d498eb24e019732895e234724
parent1c1217f8fa9235e1ac3d2d806a3daf6a308a4c6e (diff)
fix warning
-rw-r--r--common/usb_log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/usb_log.h b/common/usb_log.h
index 9074ed97..8c798c7c 100644
--- a/common/usb_log.h
+++ b/common/usb_log.h
@@ -88,6 +88,8 @@ static inline void usb_hexdump(const void *ptr, uint32_t buflen)
unsigned char *buf = (unsigned char *)ptr;
uint32_t i, j;
+ (void)buf;
+
for (i = 0; i < buflen; i += 16) {
CONFIG_USB_PRINTF("%08X:", i);