diff options
| author | Liam Fraser <[email protected]> | 2024-07-17 15:40:34 +0100 |
|---|---|---|
| committer | Liam Fraser <[email protected]> | 2024-07-17 15:47:00 +0100 |
| commit | 3804ab9a67737732fe6bcc8e0b016ea00d47ff12 (patch) | |
| tree | 11e733c6e3352b0cca2bd49795fa42e15cc9f4cd /src | |
| parent | 770efd9b46db0f8723beebe4bfa4d6694bac2901 (diff) | |
RP2040: no need to clear usb_hw (usb registers) as they are reset to default state by a hardware reset
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/raspberrypi/rp2040/rp2040_usb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/portable/raspberrypi/rp2040/rp2040_usb.c b/src/portable/raspberrypi/rp2040/rp2040_usb.c index c5d1ba3ce..43f48da39 100644 --- a/src/portable/raspberrypi/rp2040/rp2040_usb.c +++ b/src/portable/raspberrypi/rp2040/rp2040_usb.c @@ -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 |
