mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 08:45:04 +08:00
Update to use 64-bit timer when available
This commit is contained in:
@@ -211,7 +211,11 @@
|
||||
* NuttX configuration.
|
||||
*/
|
||||
|
||||
#define SYS_clock_systimer (__SYS_clock+0)
|
||||
#ifdef CONFIG_SYSTEM_TIME64
|
||||
# define SYS_clock_systimer64 (__SYS_clock+0)
|
||||
#endif
|
||||
# define SYS_clock_systimer32 (__SYS_clock+0)
|
||||
#endif
|
||||
#define SYS_clock_getres (__SYS_clock+1)
|
||||
#define SYS_clock_gettime (__SYS_clock+2)
|
||||
#define SYS_clock_settime (__SYS_clock+3)
|
||||
|
||||
Reference in New Issue
Block a user