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
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@
|
|||
// Support for pins which are on TIM1_CH1N
|
||||
#ifdef BACKLIGHT_PWM_COMPLEMENTARY_OUTPUT
|
||||
# if BACKLIGHT_ON_STATE == 1
|
||||
# define PWM_OUTPUT_MODE PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW;
|
||||
# else
|
||||
# define PWM_OUTPUT_MODE PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH;
|
||||
# else
|
||||
# define PWM_OUTPUT_MODE PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW;
|
||||
# endif
|
||||
#else
|
||||
# if BACKLIGHT_ON_STATE == 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue