Hi Uwe, On 22/09/2023 11:23, Uwe Kleine-König wrote:
led_dat->pwmstate.duty_cycle = duty; - led_dat->pwmstate.enabled = duty > 0; + led_dat->pwmstate.enabled = 1;
Thanks for the fix. Nit: I would suggest: led_dat->pwmstate.enabled = true; Reviewed-by: Fabio Estevam <festevam@xxxxxxx>