raiden00pl commented on code in PR #10830: URL: https://github.com/apache/nuttx/pull/10830#discussion_r1340963561
########## arch/arm/src/nrf52/nrf52_tim_lowerhalf.c: ########## @@ -361,13 +361,13 @@ static int nrf52_timer_settimeout(struct timer_lowerhalf_s *lower, goto errout; } - if (timeout > NRF52_TIMER_MAX) + cc = (timeout * NRF52_TIMER_PER / 1000000); Review Comment: That's right, fixed. In this case there is no point in using 64 bit for `cc` variable -- 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