mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 02:53:33 +08:00
Add clock_synchronize() which may be used to re-synchonize the system time with an RTC after recovering from a low power state
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4503 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -2583,3 +2583,8 @@
|
||||
include/nuttx/fs.
|
||||
* include/nuttx/serial: Move all serial-driver related files from include/nuttx to
|
||||
include/nuttx/serial.
|
||||
* include/nuttx/clock.h and sched/clock_initialize.c: Add a new OS interface
|
||||
called clock_sychronize() that can be used to re-synchronize the NuttX
|
||||
system time with a hardware RTC. This function is called normally at power
|
||||
up but may also need to be called when recovering from certain low-power
|
||||
usage states where the system time is no longer accurate.
|
||||
|
||||
Reference in New Issue
Block a user