GUIDINGLI commented on code in PR #17784:
URL: https://github.com/apache/nuttx/pull/17784#discussion_r2668908458


##########
include/nuttx/hrtimer.h:
##########
@@ -184,14 +179,15 @@ int hrtimer_cancel_sync(FAR hrtimer_t *hrtimer);
  *
  * Input Parameters:
  *   hrtimer - Timer instance to start
+ *   func    - Expiration callback function
  *   expired - Expiration time in nanoseconds
  *   mode    - HRTIMER_MODE_ABS or HRTIMER_MODE_REL
  *
  * Returned Value:
  *   OK on success; a negated errno value on failure.
  ****************************************************************************/
 
-int hrtimer_start(FAR hrtimer_t *hrtimer,
+int hrtimer_start(FAR hrtimer_t *hrtimer, hrtimer_cb func,

Review Comment:
   The final purpose is replace the wdog with hrtimer, but keep the wdog 
interfaces



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