xiaoxiang781216 commented on code in PR #18026:
URL: https://github.com/apache/nuttx/pull/18026#discussion_r2706571327


##########
include/nuttx/hrtimer.h:
##########
@@ -68,7 +69,11 @@ typedef CODE uint64_t (*hrtimer_entry_t)(FAR const struct 
hrtimer_s *hrtimer,
 
 typedef struct hrtimer_node_s
 {
+#ifdef CONFIG_HRTIMER_TREE
   RB_ENTRY(hrtimer_node_s) entry;  /* RB-tree linkage */
+#else
+  struct list_node  entry;  /* List linkage */

Review Comment:
   ```suggestion
     struct list_node entry;  /* List linkage */
   ```



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