xiaoxiang781216 commented on PR #15959:
URL: https://github.com/apache/nuttx/pull/15959#issuecomment-2724215433

   > @xiaoxiang781216 So you expect developers to write code like this?
   > 
   > ```
   > struct wdog_periods_s pwdog;
   > struct wdog_s wdog;
   > int ret;
   > 
   > if (...)
   >   ret = wd_start(&wdog, ...);
   > else
   >   ret = wd_start_period(&pwdog, ...);
   > ```
   
   in this case, you can always use wdog_periods_s with period == 0


-- 
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

Reply via email to