pkarashchenko commented on code in PR #7126: URL: https://github.com/apache/incubator-nuttx/pull/7126#discussion_r975608048
########## drivers/timers/watchdog.c: ########## @@ -144,17 +148,50 @@ static int watchdog_automonitor_capture(int irq, FAR void *context, return 0; } +#elif defined(CONFIG_WATCHDOG_AUTOMONITOR_BY_ONESHOT) +static void +watchdog_automonitor_oneshot(FAR struct oneshot_lowerhalf_s *oneshot, + FAR void *arg) +{ + FAR struct watchdog_upperhalf_s *upper = arg; + FAR struct watchdog_lowerhalf_s *lower = upper->lower; + + if (upper->monitor) + { + struct timespec ts = + { + WATCHDOG_AUTOMONITOR_PING_INTERVAL, 0 + }; Review Comment: np. I observer that some places indent in different way. I'm fine with current -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org