Hello, call of app_pwm_init() function forces logic 1 on PWM enabled pin after advertising timeout expires. Why? It causes my LED to turn completely on after advertising ends.
Please see example project - it is HRS example project from SDK 8, it uses softdevice S110 on pca10028. Only app_pwm_init() function call is added in main function. After the start of program execution, you can see logic zero on P0.8, after the advertising timeout expires, it toggles to logic one. How to avoid that?