Selaa lähdekoodia

fix warning

Signed-off-by: sakumisu <1203593632@qq.com>
sakumisu 1 kuukausi sitten
vanhempi
sitoutus
707e865627
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      port/dwc2/usb_hc_dwc2.c

+ 0 - 2
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)
 int usb_hc_deinit(struct usbh_bus *bus)
 {
 {
-    volatile uint32_t count = 0U;
-
     USB_OTG_GLB->GAHBCFG &= ~USB_OTG_GAHBCFG_GINT;
     USB_OTG_GLB->GAHBCFG &= ~USB_OTG_GAHBCFG_GINT;
 
 
     dwc2_flush_txfifo(bus, 0x10U);
     dwc2_flush_txfifo(bus, 0x10U);