From 7ed3138e5fd2af127194010a7212cf426641b2a0 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Fri, 5 Jan 2024 04:27:55 -0800 Subject: [PATCH] Remove PWM advanced check for WS2812 driver (#22830) --- platforms/chibios/drivers/ws2812_pwm.c | 3 --- 1 file changed, 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