-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a time sync callback that can be used to sync system time (#202)
* Added a time sync callback that can be used to sync system time Signed-off-by: Marc Emmers <[email protected]> clang-format Signed-off-by: Kai-Uwe Hermann <[email protected]> Add time_sync_callback to callbacks valid check Signed-off-by: Marc Emmers <[email protected]> Fix incorrect time of flight calculation Signed-off-by: Marc Emmers <[email protected]> Fix wrong call type used and use monotonic timer so time of flight never becomes negative Signed-off-by: Marc Emmers <[email protected]> * Check the TimeSource before updating the time based on heartbeats and boot notification Signed-off-by: Marc Emmers <[email protected]> --------- Signed-off-by: Marc Emmers <[email protected]> Co-authored-by: Patrick van Bennekom <[email protected]> Co-authored-by: Marc Emmers <[email protected]>
- Loading branch information
1 parent
314baaa
commit 4769c49
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters