Skip to content
Commit babaaa6a authored by Armin Kessler's avatar Armin Kessler Committed by Benjamin Cabé
Browse files

drivers: pwm_led: esp32: add inverted pwm polarity



This PR enables the PWM to be inverted by making use of the
`PWM_POLARITY_INVERTED` flag.
It also fixes an overflow bug when setting duty-cycle to 100 percent.

Signed-off-by: default avatarArmin Kessler <ake@espros.com>
parent 3269b49b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment