-
Notifications
You must be signed in to change notification settings - Fork 48
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
e-hal-v1 #172
e-hal-v1 #172
Conversation
embedded-hal 1.0 renamed from embedded-hal-one to embedded-hal embedded-hal 0.2 renamed from embedded-hal to embedded-hal-old, still re-exported as hal-02
I had added them by accident for an example that didn't end up in the PR
examples/uart.rs
Outdated
|
||
let mut cnt = 0; | ||
loop { | ||
match block!(usart.read()) { | ||
match block!(embedded_hal_old::serial::Read::read(&mut usart)) { |
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.
Is this needed?
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.
I think it's because the name conflicts with the new trait's
We might want to switch to embedded-io altogether for the examples?
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.
Something like this? 1b768d7
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.
looks fine
9dcaba8
to
3ee9a6d
Compare
Again thanks a lot @techmccat for this! :) |
This is a rebased version of @techmccat's #129 with the addition of 4982a32 to make syst delay work more like before