diff options
| author | sakumisu <[email protected]> | 2025-12-12 22:41:25 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-12-12 22:43:35 +0800 |
| commit | 707e865627e65b9d661a431c92d57e50ab9d20ab (patch) | |
| tree | 45fa8508fd25dff414df9c8165152a954459605a | |
| parent | e951fd01c88ef784e784541015aff56e9838174c (diff) | |
fix warning
Signed-off-by: sakumisu <[email protected]>
| -rw-r--r-- | port/dwc2/usb_hc_dwc2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/port/dwc2/usb_hc_dwc2.c b/port/dwc2/usb_hc_dwc2.c index 4b6143b1..337abf20 100644 --- a/port/dwc2/usb_hc_dwc2.c +++ b/port/dwc2/usb_hc_dwc2.c @@ -796,8 +796,6 @@ int usb_hc_init(struct usbh_bus *bus) int usb_hc_deinit(struct usbh_bus *bus) { - volatile uint32_t count = 0U; - USB_OTG_GLB->GAHBCFG &= ~USB_OTG_GAHBCFG_GINT; dwc2_flush_txfifo(bus, 0x10U); |
