mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 14:55:29 +00:00
Simplify more feature driver defines (#22090)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user