Hi,
it seems App-Timers gets OOM after running slightly over 3 hours ... I left Pico running and when I got back there was no blinky but shiny :-)
[DEBUG] Timer fired. ID: 0, LED: on
[DEBUG] Timer fired. ID: 255, LED: off
[DEBUG] Timer fired. ID: 0, LED: on
*** PANIC ***
Out of memory
After I changed LED_OFFTIMER approach from "create many-times" to "create once, (re)start many-times"_ the problem disappeared. I guess deleting the LED_OFF_TIMER in its callback should resolve the issue too.
Hi, it seems App-Timers gets OOM after running slightly over 3 hours ... I left Pico running and when I got back there was no blinky but shiny :-)
After I changed LED_OFFTIMER approach from "create many-times" to "create once, (re)start many-times"_ the problem disappeared. I guess deleting the LED_OFF_TIMER in its callback should resolve the issue too.