summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-12-09 05:19:58 +0000
committerDrashna Jaelre <drashna@live.com>2019-12-08 21:19:58 -0800
commitb3c7864990be0a80177aa35b32fb000419696636 (patch)
tree790488514b9e9b3c6625ab983e1012bd08328c58
parent8984f24f7c1d6d4b847577a9ff08ee8e481a7a29 (diff)
Enable bitbang ws2812 for f4 (#7571)
-rw-r--r--drivers/arm/ws2812.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/arm/ws2812.c b/drivers/arm/ws2812.c
index fa702fca98..bdca565d88 100644
--- a/drivers/arm/ws2812.c
+++ b/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")