RIOT-OS / rust-riot-wrappers

The `riot-wrappers` crate, which enables high-level access to RIOT from the Rust programming language
13 stars 10 forks source link

embedded-hal DelayNs implementation is inconsistent with embedded-hal-async #74

Open chrysn opened 9 months ago

chrysn commented 9 months ago

Those implementations use different approaches:

There's no clear winner here yet; still, some unification is in order (at least for the new traits). Possibly we could supply both, with the Delay being more "pick the best available clock for the task", and the impls on Clock using that clock no matter how sensible.