Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a time sync callback that can be used to sync system time #202

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

maaikez
Copy link
Contributor

@maaikez maaikez commented Sep 28, 2023

No description provided.

@marcemmers
Copy link
Contributor

Please also add a check in all_callbacks_valid so that if the optional has a value it is at least valid.

Signed-off-by: Marc Emmers <m.emmers@alfen.com>

clang-format

Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>

Add time_sync_callback to callbacks valid check

Signed-off-by: Marc Emmers <m.emmers@alfen.com>

Fix incorrect time of flight calculation

Signed-off-by: Marc Emmers <m.emmers@alfen.com>

Fix wrong call type used and use monotonic timer so time of flight never becomes negative

Signed-off-by: Marc Emmers <m.emmers@alfen.com>
… boot notification

Signed-off-by: Marc Emmers <m.emmers@alfen.com>
@marcemmers marcemmers merged commit 4769c49 into main Oct 10, 2023
3 checks passed
@marcemmers marcemmers deleted the pb-time-sync branch October 10, 2023 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants