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:
Raffael Rostagno <raffael.rostagno@espressif.com>
Loading
Please sign in to comment