flipperzero-rs / flipperzero

Rust on the Flipper Zero
MIT License
517 stars 34 forks source link

Implement `flipperzero::furi::time::{Instant, Duration}` #74

Closed str4d closed 1 year ago

str4d commented 1 year ago

We approximately follow the APIs of std::time::{Instant, Duration}, adjusting for the wrapping clock as necessary.

str4d commented 1 year ago

Rebased on main.

str4d commented 1 year ago

Force-pushed to rework the implementation of Instant to be wrapping, and added an implementation of Duration.