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

usec timer: add support to reset time #1255

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

whoenig
Copy link
Contributor

@whoenig whoenig commented Mar 24, 2023

  • initUsecTimer -> usecTimerInit for consistency
  • new (public) function to reset the timer to 0
  • new parameter "usec.reset" to trigger a reset

The latter an easy way to synchronize the clocks of multiple UAVs, by
sending a broadcast parameter change.

@whoenig whoenig force-pushed the feature_usec_reset branch from 15f674a to 2ef0b88 Compare March 24, 2023 20:47
* initUsecTimer -> usecTimerInit for consistency
* new (public) function to reset the timer to 0
* new parameter "usec.reset" to trigger a reset

The latter an easy way to synchronize the clocks of multiple UAVs, by
sending a broadcast parameter change.
@whoenig whoenig force-pushed the feature_usec_reset branch from 2ef0b88 to 26355be Compare March 24, 2023 20:49
@krichardsson krichardsson merged commit 889ff48 into bitcraze:master Mar 27, 2023
@krichardsson
Copy link
Contributor

Thanks!

@knmcguire knmcguire added this to the next-release milestone Apr 11, 2023
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.

3 participants