Files
nuttx/include
Kerogit ac42add946 nuttx/clock: make NSEC_PER_USEC and others long
On AVR architecture, the compiler apparently sometimes truncates NSEC_PER_TICK
to 16bit value, leading to clock_time2ticks returning incorrect results. This
was encountered while attempting to add tickless OS support for AVR
architecture but seemed to affect non-tickless mode of operation as well.

This patch marks NSEC_PER_USEC (and to be safe, USEC_PER_MSEC and MSEC_PER_SEC
too) as long.
2025-04-02 08:29:00 -03:00
..
2024-12-15 17:53:48 -03:00
2024-10-23 09:42:57 +08:00
2025-04-02 12:01:46 +08:00
2024-10-11 00:37:27 +08:00
2024-11-26 19:25:24 +08:00
2024-12-26 13:25:19 +08:00
2024-11-01 16:59:37 +08:00
2024-12-20 11:46:14 -03:00