mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
Registering /dev/rtc0 from up_rtc_initialize() creates the pseudofs inode before clock_inittime() synchronizes CLOCK_REALTIME. Its timestamp is consequently zero and omitted by ls -l. Keep lower-half setup in early RTC initialization, but defer character-device registration to up_initialize(), which runs after clock initialization. Fixes #19504 Signed-off-by: hanzhijian <hanzhijian@zepp.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||