acassis edited a comment on pull request #5545:
URL: https://github.com/apache/incubator-nuttx/pull/5545#issuecomment-1045253671


   @xiaoxiang781216 many drivers are using it, I think you only fixed some, 
please take a look:
   $ git grep CONFIG_CLOCK_MONOTONIC
   ```
   drivers/sensors/bmp280.c:#ifdef CONFIG_CLOCK_MONOTONIC
   drivers/sensors/ds18b20.c:#ifdef CONFIG_CLOCK_MONOTONIC
   drivers/sensors/hyt271.c:#ifdef CONFIG_CLOCK_MONOTONIC
   drivers/sensors/lis2dh.c:#ifdef CONFIG_CLOCK_MONOTONIC
   drivers/sensors/lis2dh.c:#ifdef CONFIG_CLOCK_MONOTONIC
   drivers/sensors/ms5611.c:#ifdef CONFIG_CLOCK_MONOTONIC
   drivers/syslog/vsyslog.c:#elif defined(CONFIG_CLOCK_MONOTONIC)
   fs/vfs/fs_epoll.c:#ifdef CONFIG_CLOCK_MONOTONIC
   fs/vfs/fs_epoll.c:#ifdef CONFIG_CLOCK_MONOTONIC
   fs/vfs/fs_timerfd.c:#ifdef CONFIG_CLOCK_MONOTONIC
   fs/vfs/fs_timerfd.c:#endif /* CONFIG_CLOCK_MONOTONIC */
   include/nuttx/clock.h:    defined(CONFIG_CLOCK_MONOTONIC) && 
!defined(CONFIG_SCHED_TICKLESS)
   include/nuttx/input/touchscreen.h:#ifdef CONFIG_CLOCK_MONOTONIC
   include/nuttx/rc/lirc_dev.h:#ifdef CONFIG_CLOCK_MONOTONIC
   include/nuttx/sensors/sensor.h:#ifdef CONFIG_CLOCK_MONOTONIC
   include/time.h:#ifdef CONFIG_CLOCK_MONOTONIC
   include/time.h:#ifdef CONFIG_CLOCK_MONOTONIC
   libs/libc/netdb/lib_dnscache.c:#ifdef CONFIG_CLOCK_MONOTONIC
   libs/libc/pthread/pthread_condattr_setclock.c:#ifdef CONFIG_CLOCK_MONOTONIC
   libs/libc/time/lib_gethrtime.c:#ifdef CONFIG_CLOCK_MONOTONIC
   libs/libc/unistd/lib_sysconf.c:#ifdef CONFIG_CLOCK_MONOTONIC
   sched/clock/clock_getres.c:#ifdef CONFIG_CLOCK_MONOTONIC
   sched/clock/clock_gettime.c:#ifdef CONFIG_CLOCK_MONOTONIC
   sched/timer/timer_create.c:#ifdef CONFIG_CLOCK_MONOTONIC
   sched/timer/timer_create.c:#endif /* CONFIG_CLOCK_MONOTONIC */
   ```


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