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

Use a time library that allows negative duration #19

Open
thvdveld opened this issue Mar 14, 2024 · 0 comments
Open

Use a time library that allows negative duration #19

thvdveld opened this issue Mar 14, 2024 · 0 comments
Labels
optimization Something can be optimized

Comments

@thvdveld
Copy link
Owner

thvdveld commented Mar 14, 2024

We now have src/time.rs in dot15d4-frame and in dot15d4, which is not ideal. We should replace the implementation with a library.

  • chrono: allows for negative durations, but is not designed for embedded.
  • core::time::*: does not have Instant and does not allow negative durations.
  • fugit: does not have negative durations, but is designed for embedded.
  • embassy-time: does not have negative durations.
@thvdveld thvdveld added the optimization Something can be optimized label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Something can be optimized
Projects
None yet
Development

No branches or pull requests

1 participant