nuttx/arch/risc-v
yushuailong 1a3185beeb arch/risc-v/esp32c3-legacy: Fix non-atomic clock read in up_rtc_rdalarm.
up_rtc_rdalarm() computed tv_sec and tv_nsec from two separate
evaluations of rt_timer_time_us() + offset + deadline. The RT timer
advances between the two calls, so a read that straddles a second
boundary yields an inconsistent timespec.

Compute the microsecond value once into a local variable and derive
both fields from that single snapshot.

Signed-off-by: yushuailong <yyyusl@qq.com>
2026-06-11 02:59:10 +08:00
..
include arch/risc-v/k210: Remove QEMU support 2026-03-23 14:25:29 +08:00
src arch/risc-v/esp32c3-legacy: Fix non-atomic clock read in up_rtc_rdalarm. 2026-06-11 02:59:10 +08:00
CMakeLists.txt
Kconfig !drivers/pwm: remove PWM_MULTICHAN option 2026-05-18 11:35:25 -04:00