Simplify more feature driver defines (#22090)
This commit is contained in:
parent
61702b2564
commit
21ed9b4575
51 changed files with 63 additions and 62 deletions
|
@ -66,7 +66,7 @@
|
|||
#endif
|
||||
|
||||
// WS2812-style LED control on pin A10
|
||||
#ifdef WS2812_DRIVER_PWM
|
||||
#ifdef WS2812_PWM
|
||||
# ifndef WS2812_DI_PIN
|
||||
# define WS2812_DI_PIN PAL_LINE(GPIOA, 10)
|
||||
# endif
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef WS2812_DRIVER_PWM
|
||||
#ifdef WS2812_PWM
|
||||
# ifndef HAL_USE_PWM
|
||||
# define HAL_USE_PWM TRUE
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue