Explorar o código

Enable bitbang ws2812 for f4 (#7571)

Joel Challis %!s(int64=6) %!d(string=hai) anos
pai
achega
b3c7864990
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/arm/ws2812.c

+ 1 - 1
drivers/arm/ws2812.c

@@ -6,7 +6,7 @@
 /* Adapted from https://github.com/bigjosh/SimpleNeoPixelDemo/ */
 
 #ifndef NOP_FUDGE
-#    if defined(STM32F1XX) || defined(STM32F1xx) || defined(STM32F0XX) || defined(STM32F0xx) || defined(STM32F3XX) || defined(STM32F3xx) || defined(STM32L0XX) || defined(STM32L0xx)
+#    if defined(STM32F0XX) || defined(STM32F1XX) || defined(STM32F3XX) || defined(STM32F4XX) || defined(STM32L0XX)
 #        define NOP_FUDGE 0.4
 #    else
 #        error("NOP_FUDGE configuration required")