mirror of
https://github.com/apache/nuttx.git
synced 2026-08-05 06:10:27 +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> |
||
|---|---|---|
| .. | ||
| cmake | ||
| sim | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Makefile | ||
| nuttx-names.in | ||
| patch_macho_initsection.py | ||