fix unused warning

This commit is contained in:
hathach 2024-04-08 22:22:00 +07:00
parent 366564e952
commit 4bc6a5feb7
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52

View File

@ -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);