-
Notifications
You must be signed in to change notification settings - Fork 162
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
Add embedded-hal v1.0.0-alpha.8 support #106
Conversation
bff75fb
to
5b27b4b
Compare
@Disasm Not quite sure how we want to support pre-releases. I guess we could keep the PRs open and just push pre-release crates.io (I think that's how e-h did it?) This is the first in a big list of deps to support all of: |
I think only |
#[inline] | ||
fn delay_us(&mut self, us: u64) { | ||
fn delay_us(&mut self, us: u32) -> Result<(), Self::Error> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the latest embedded-hal
release candidate, embedded-hal-1.0.0-alpha.11 this trait no longer returns a Result
, nor has an associated Error
type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we aim at 1.0.0-rc.1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we aim at 1.0.0-rc.1?
Definitely, same story there: https://docs.rs/embedded-hal/1.0.0-rc.1/embedded_hal/delay/trait.DelayUs.html
Wasn't sure about the separation, so just went with the alpha
line of releases.
#147 points to |
Closing, as this has been addressed in #147 |
Fixed
Delay
trait for use with embedded-halv1.0.0-alpha.8