-
Notifications
You must be signed in to change notification settings - Fork 149
Use embedded-hal 1.0 in tests and examples #436
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. line 53-54: Can you please comment on the change made from: (state.input_pin.as_ref().unwrap().is_low().unwrap()); to: (state.input_pin.as_mut().unwrap().is_low().unwrap());
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, |
Uh oh!
There was an error while loading. Please reload this page.
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.
line 46: Can you please comment on the change to make pulldown_pin mutuable?
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.
embedded_hal::digital::InputPin::is_lowtakes&mut self, so it needs to be mutable for the call on line 49.