Skip to content

Commit

Permalink
Change complementary output to active high, when backlight on state is 1
Browse files Browse the repository at this point in the history
  • Loading branch information
HorrorTroll committed Jan 7, 2025
1 parent 1cc42e8 commit c64a794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platforms/chibios/drivers/backlight_pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c64a794

Please sign in to comment.