Switch to crates.io embedded-hal, embedded-hal-async.

This temporarily removes support for the async UART trait, since it's
not yet in embedded-hal-async.
This commit is contained in:
Dario Nieuwenhuis
2022-04-22 19:58:24 +02:00
parent ea0a701ebd
commit 3251a21fb7
15 changed files with 31 additions and 55 deletions

View File

@ -363,7 +363,7 @@ mod eh1 {
}
cfg_if::cfg_if! {
if #[cfg(all(feature = "unstable-traits", feature = "nightly"))] {
if #[cfg(all(feature = "unstable-traits", feature = "nightly", feature = "_todo_embedded_hal_serial"))] {
use core::future::Future;
impl<'d, T: Instance, TxDma> embedded_hal_async::serial::Write for UartTx<'d, T, TxDma>