diff --git a/Downstream/.cproject b/Downstream/.cproject
index 695fd20..6b93970 100644
--- a/Downstream/.cproject
+++ b/Downstream/.cproject
@@ -5,19 +5,19 @@
+
-
-
+
-
+
@@ -130,16 +130,16 @@
+
-
-
+
diff --git a/Downstream/.settings/language.settings.xml b/Downstream/.settings/language.settings.xml
index eddaa5a..eb57860 100644
--- a/Downstream/.settings/language.settings.xml
+++ b/Downstream/.settings/language.settings.xml
@@ -5,7 +5,7 @@
-
+
diff --git a/Downstream/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c b/Downstream/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c
index 544c711..b4d05a6 100644
--- a/Downstream/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c
+++ b/Downstream/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c
@@ -1566,16 +1566,16 @@ HAL_StatusTypeDef USB_HC_WriteEmptyTxFifo(USB_OTG_GlobalTypeDef *USBx, USB_OTG_H
len32b = (len + 3) / 4;
if (periodic == 0)
{
- if ((len32b > (USBx->HNPTXSTS & 0xFFFF)) ||
- (((USBx->HNPTXSTS >> HxTXSTS_xTXQSAV_SHIFT) & HxTXSTS_xTXQSAV_MASK) == 0))
+ if (len32b > (USBx->HNPTXSTS & 0xFFFF)) //||
+ //(((USBx->HNPTXSTS >> HxTXSTS_xTXQSAV_SHIFT) & HxTXSTS_xTXQSAV_MASK) == 0)) //This register is buggy on some silicon, some of the time :(
{
return HAL_BUSY; //fifo is full
}
}
else
{
- if ((len32b > (USBx_HOST->HPTXSTS & 0xFFFF)) ||
- (((USBx_HOST->HPTXSTS >> HxTXSTS_xTXQSAV_SHIFT) & HxTXSTS_xTXQSAV_MASK) == 0))
+ if (len32b > (USBx_HOST->HPTXSTS & 0xFFFF)) //||
+ //(((USBx_HOST->HPTXSTS >> HxTXSTS_xTXQSAV_SHIFT) & HxTXSTS_xTXQSAV_MASK) == 0)) //This register is buggy on some silicon, some of the time :(
{
return HAL_BUSY; //fifo is full
}