rename HCD_MAX_XFER to CFG_TUH_ENDPOINT_MAX
minor clean up
This commit is contained in:
@@ -58,6 +58,7 @@ void rp2040_usb_init(void)
|
||||
unreset_block_wait(RESETS_RESET_USBCTRL_BITS);
|
||||
|
||||
// Clear any previous state just in case
|
||||
// TODO Suppress warning array-bounds with gcc11
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
memset(usb_hw, 0, sizeof(*usb_hw));
|
||||
|
||||
Reference in New Issue
Block a user