You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/10/11 11:55:07 UTC

[GitHub] [incubator-nuttx] zyfeier commented on a diff in pull request #7033: nuttx/timer: add arch_alarm tick interface

zyfeier commented on code in PR #7033:
URL: https://github.com/apache/incubator-nuttx/pull/7033#discussion_r992223618


##########
arch/arm/src/stm32/stm32_tickless.c:
##########
@@ -698,9 +698,9 @@ int up_timer_gettime(struct timespec *ts)
  *
  ****************************************************************************/
 
-int up_timer_getcounter(uint64_t *cycles)
+int up_timer_gettick(FAR clock_t *ticks)

Review Comment:
   Done



##########
arch/arm/src/stm32/stm32_tickless.c:
##########
@@ -718,7 +718,7 @@ int up_timer_getcounter(uint64_t *cycles)
  *
  ****************************************************************************/
 
-void up_timer_getmask(uint64_t *mask)
+void up_timer_getmask(FAR clock_t *mask)

Review Comment:
   Done



##########
arch/arm/src/stm32f7/stm32_tickless.c:
##########
@@ -756,9 +756,9 @@ int up_timer_gettime(struct timespec *ts)
  *
  ****************************************************************************/
 
-int up_timer_getcounter(uint64_t *cycles)
+int up_timer_gettick(FAR clock_t *ticks)

Review Comment:
   Done



-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org