summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2024-01-05 04:27:55 -0800
committerGitHub <noreply@github.com>2024-01-05 12:27:55 +0000
commit7ed3138e5fd2af127194010a7212cf426641b2a0 (patch)
treec08c7542538c750f192ee71d067647768a0ba012
parente09d84c47ce34132b0bdae155f60aabd7fe31acb (diff)
Remove PWM advanced check for WS2812 driver (#22830)
-rw-r--r--platforms/chibios/drivers/ws2812_pwm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/platforms/chibios/drivers/ws2812_pwm.c b/platforms/chibios/drivers/ws2812_pwm.c
index 440687bd72..6bba22767f 100644
--- a/platforms/chibios/drivers/ws2812_pwm.c
+++ b/platforms/chibios/drivers/ws2812_pwm.c
@@ -48,9 +48,6 @@
#ifndef WS2812_PWM_COMPLEMENTARY_OUTPUT
# define WS2812_PWM_OUTPUT_MODE PWM_OUTPUT_ACTIVE_HIGH
#else
-# if !STM32_PWM_USE_ADVANCED
-# error "WS2812_PWM_COMPLEMENTARY_OUTPUT requires STM32_PWM_USE_ADVANCED == TRUE"
-# endif
# define WS2812_PWM_OUTPUT_MODE PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH
#endif