Browse Source

Fix silly typo in the F3xx support.

Nathan Conrad 6 năm trước cách đây
mục cha
commit
49c58be4ce

+ 2 - 2
src/portable/st/stm32_fsdev/dcd_stm32_fsdev_pvt_st.h

@@ -61,7 +61,7 @@
 #error The F102/F103 driver is expected not to work, but it might? Try it?
 #error The F102/F103 driver is expected not to work, but it might? Try it?
 
 
 #elif defined(STM32F302xB) | defined(STM32F302xC) | \
 #elif defined(STM32F302xB) | defined(STM32F302xC) | \
-      defined(STM32F303xB) | defined(STM32F303xC) | \ //good
+      defined(STM32F303xB) | defined(STM32F303xC) | \
       defined(STM32F373xC)
       defined(STM32F373xC)
 #include "stm32f3xx.h"
 #include "stm32f3xx.h"
 #define PMA_LENGTH 512u
 #define PMA_LENGTH 512u
@@ -70,7 +70,7 @@
 // PMA dedicated to USB (no sharing with CAN)
 // PMA dedicated to USB (no sharing with CAN)
 #elif defined(STM32F302x6) | defined(STM32F302x8) | \
 #elif defined(STM32F302x6) | defined(STM32F302x8) | \
       defined(STM32F302xD) | defined(STM32F302xE) | \
       defined(STM32F302xD) | defined(STM32F302xE) | \
-      defined(STM32F303xD) | defined(STM32F303xE) | \ //good
+      defined(STM32F303xD) | defined(STM32F303xE) | \
 #include "stm32f3xx.h"
 #include "stm32f3xx.h"
 #define PMA_LENGTH 1024u
 #define PMA_LENGTH 1024u
 // NO internal Pull-ups
 // NO internal Pull-ups