فهرست منبع

fix dwc2 driver for STM32L47x (#19)

tfx2001 3 سال پیش
والد
کامیت
04ee8e54c2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/portable/synopsys/dwc2/dcd_dwc2.c

+ 1 - 1
src/portable/synopsys/dwc2/dcd_dwc2.c

@@ -1064,7 +1064,7 @@ static void handle_rxflvl_irq(uint8_t rhport)
         {
           uint32_t doepint = epout->doepint;
 
-          if (doepint & (DOEPINT_STPKTRX | DOEPINT_OTEPSPR))
+          if (doepint & DOEPINT_STPKTRX)
           {
             // skip this "no-data" transfer complete event
             // Note: STPKTRX will be clear later by setup received handler