Przeglądaj źródła

fix dwc2 driver for STM32L47x (#19)

tfx2001 3 lat temu
rodzic
commit
04ee8e54c2
1 zmienionych plików z 1 dodań i 1 usunięć
  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