Hi Guenter,
I will re-spin boards in boot loop tests to see if your solution to the
problem also works. If this is the case, that would significantly reduce
code complexity, indeed.
On the other hand I fear that it might be too late to check for
(system_state > SYSTEM_RUNNING) in watchdog ping handler since if I
remember correctly reboot notifier still runs in system_state ==
SYSTEM_RUNNING which might be just enough sooner to hit the sweet spot.
But nevertheless, thank you for your input and the idea.
Keep you informed,
BR,
Primoz
On 6. 07. 21 15:28, Guenter Roeck wrote:
Why all that complexity and not just check system_state here ?
Guenter