diff options
| author | hathach <[email protected]> | 2024-04-08 22:22:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-08 22:22:00 +0700 |
| commit | 4bc6a5feb74e073824cf404916442311b7040c47 (patch) | |
| tree | a006fbaaa4199b8e0f60bdf57140de1b2b746b14 /src | |
| parent | 366564e952b974a49a5b8da7f1d4c729bd37219d (diff) | |
fix unused warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/raspberrypi/rp2040/dcd_rp2040.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/raspberrypi/rp2040/dcd_rp2040.c b/src/portable/raspberrypi/rp2040/dcd_rp2040.c index a2b3375a3..bc0deee32 100644 --- a/src/portable/raspberrypi/rp2040/dcd_rp2040.c +++ b/src/portable/raspberrypi/rp2040/dcd_rp2040.c @@ -408,7 +408,7 @@ void dcd_init(uint8_t rhport) { } bool dcd_deinit(uint8_t rhport) { - assert(rhport == 0); + (void) rhport; reset_non_control_endpoints(); irq_remove_handler(USBCTRL_IRQ, dcd_rp2040_irq); |
