sys_usbd: silence warning

This commit is contained in:
Megamouse 2024-02-13 22:36:16 +01:00
parent 348fab33a8
commit c91bc03532

View file

@ -160,7 +160,7 @@ void LIBUSB_CALL callback_transfer(struct libusb_transfer* transfer)
usbh.transfer_complete(transfer);
}
static void LIBUSB_CALL log_cb(libusb_context *ctx, enum libusb_log_level level, const char *str)
static void LIBUSB_CALL log_cb(libusb_context* /*ctx*/, enum libusb_log_level level, const char* str)
{
if (!str)
return;