mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
RP2040: no need to clear usb_hw (usb registers) as they are reset to default state by a hardware reset
This commit is contained in:
parent
770efd9b46
commit
3804ab9a67
@ -75,7 +75,6 @@ void rp2040_usb_init(void) {
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||
#endif
|
||||
#endif
|
||||
memset(usb_hw, 0, sizeof(*usb_hw));
|
||||
memset(usb_dpram, 0, sizeof(*usb_dpram));
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
|
Loading…
x
Reference in New Issue
Block a user