I use CAF LEDs with PWM. I have a timer that would make device wake up every 20 seconds with a CONFIG_CAF_POWER_MANAGER_TIMEOUT to make it sleep 2 seconds after waking up.
Every time the system wakes up from sleep, the LED will be turned on for a brief moment before turning off again, and I think it is because of the code below. This happens even though I manually turn off LEDs on a system wake up. Is there any way to prevent the blink from happening (either through my code or modifying the source code)?