daniel-p-carvalho commented on code in PR #20782:
URL: https://github.com/apache/nuttx/pull/20782#discussion_r4405496797


##########
drivers/timers/watchdog.c:
##########
@@ -611,6 +607,190 @@ static ssize_t wdog_read(FAR struct file *filep, FAR char 
*buffer,
   return ret;
 }
 
+#ifdef CONFIG_WATCHDOG_AUTOMONITOR_TASKS
+/* Arm a channel, its timeout starts now.  The lock must be held. */
+
+static void watchdog_channel_arm(FAR struct watchdog_user_s *user)

Review Comment:
   Done. watchdog_channel_late() now covers it: WDIOC_START, WDIOC_STOP and the 
'V' write leave a channel unchanged when it is armed and its deadline has 
passed, as feed already did. Tested on the board (late, latestop, latev and 
latestart all end in a watchdog reset) and in the simulator.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to