1
0
Fork 0

Simplify more feature driver defines (#22090)

This commit is contained in:
Ryan 2023-09-25 13:06:42 +10:00 committed by GitHub
parent 61702b2564
commit 21ed9b4575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 63 additions and 62 deletions

View file

@ -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

View file

@ -32,7 +32,7 @@
# endif
#endif
#ifdef WS2812_DRIVER_PWM
#ifdef WS2812_PWM
# ifndef HAL_USE_PWM
# define HAL_USE_PWM TRUE
# endif