Closed chernomor closed 4 years ago
Hmm, it seems Void would be replaced with Infallible in future: https://github.com/rust-embedded/embedded-hal/pull/150
I second this PR. Thanks for the work!
Dang it. I totally missed this PR. Will look into it after work today in the evening!
The current version 0.3.13 generifies over the actual pin-error-type.
This should mean that Void
, Infallible
and even legacy ()
should work.
Feel free to comment on that change and / or open a new issue for discussion (having a discussion in a merged/closed ticket gets lost so fast...)
Hello.
I try use last stm32f1xx-hal (along as onewire) in my project and found errors:
Using embedded_hal::digital::v2 solves this problem, so what you say about this PR?
unwrap() in method read() at line 458 looks ugly, but I don't found better solution.. Any ideas?