Skip to content
Commit 58aef30a authored by Raffael Rostagno's avatar Raffael Rostagno Committed by Benjamin Cabé
Browse files

drivers: pwm_led: esp32: Fix frequency config



At driver init channels frequency are unknown, thus timer config
may take place only at set_cycles(). To avoid phase shifts,
timers are only reconfigured if a new frequency is requested.

Signed-off-by: default avatarRaffael Rostagno <raffael.rostagno@espressif.com>
parent 2c5b791b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment