mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-11 00:05:43 +00:00
Patch up issue for inverted complementary output on Backlight (#24794)
Change complementary output to active high, when backlight on state is 1
This commit is contained in:
parent
47e66c8a24
commit
d035f02c08
@ -28,9 +28,9 @@
|
|||||||
// Support for pins which are on TIM1_CH1N
|
// Support for pins which are on TIM1_CH1N
|
||||||
#ifdef BACKLIGHT_PWM_COMPLEMENTARY_OUTPUT
|
#ifdef BACKLIGHT_PWM_COMPLEMENTARY_OUTPUT
|
||||||
# if BACKLIGHT_ON_STATE == 1
|
# if BACKLIGHT_ON_STATE == 1
|
||||||
# define PWM_OUTPUT_MODE PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW;
|
|
||||||
# else
|
|
||||||
# define PWM_OUTPUT_MODE PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH;
|
# define PWM_OUTPUT_MODE PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH;
|
||||||
|
# else
|
||||||
|
# define PWM_OUTPUT_MODE PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW;
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# if BACKLIGHT_ON_STATE == 1
|
# if BACKLIGHT_ON_STATE == 1
|
||||||
|
Loading…
Reference in New Issue
Block a user