FelipeMdeO commented on code in PR #3686:
URL: https://github.com/apache/nuttx-apps/pull/3686#discussion_r3695730966


##########
system/uorb/listener.c:
##########
@@ -955,6 +957,16 @@ static void listener_monitor(FAR struct listen_list_s 
*objlist,
                        "Giving up. err:%d", timeout, errno);
           break;
         }
+
+      if (interval != 0)
+        {
+          orb_abstime elapsed = orb_absolute_time() - start;
+
+          if (elapsed < (orb_abstime)interval)

Review Comment:
   Just for learn purpose, why not use cast here?



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