summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2024-02-06 07:09:53 +0000
committerQMK Bot <hello@qmk.fm>2024-02-06 07:09:53 +0000
commit3f6e362b8d5b1b6cdc4c40576e7418304e19e3a7 (patch)
treee0de76afb9979f8debca61e9f2a499e026be9793
parent93f20e012e9ae5c8d677c8f9e10cc4dcd938a2f8 (diff)
parent45ae4dec4d3e8ab0b52903c5ad72b561bd25d94d (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--platforms/chibios/drivers/ws2812_bitbang.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/ws2812_bitbang.c b/platforms/chibios/drivers/ws2812_bitbang.c
index e3b735a1a6..883a845d88 100644
--- a/platforms/chibios/drivers/ws2812_bitbang.c
+++ b/platforms/chibios/drivers/ws2812_bitbang.c
@@ -9,7 +9,11 @@
# if defined(STM32F0XX) || defined(STM32F1XX) || defined(GD32VF103) || defined(STM32F3XX) || defined(STM32F4XX) || defined(STM32L0XX) || defined(WB32F3G71xx) || defined(WB32FQ95xx)
# define NOP_FUDGE 0.4
# else
-# error("NOP_FUDGE configuration required")
+# if defined(RP2040)
+# error "Please use `vendor` WS2812 driver for RP2040"
+# else
+# error "NOP_FUDGE configuration required"
+# endif
# define NOP_FUDGE 1 // this just pleases the compile so the above error is easier to spot
# endif
#endif