mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 01:49:24 +08:00
Checking only adds a race condition. The checking if the wdog is active or not must be done inside wd_cancel, where the proper spinlock is held Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>