From 3ab84702b7701c551f608e028ba6f6a6e433b5de Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sun, 21 Nov 2021 13:16:03 +0000 Subject: [PATCH] Update comments --- rp2040-hal/src/spi.rs | 2 ++ rp2040-hal/src/uart.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rp2040-hal/src/spi.rs b/rp2040-hal/src/spi.rs index b826683..babc486 100644 --- a/rp2040-hal/src/spi.rs +++ b/rp2040-hal/src/spi.rs @@ -190,6 +190,8 @@ impl Spi { /// /// For eh 1.0.0-alpha.6, Infallible doesn't implement spi::Error, /// so use a locally defined type instead. +/// This should be removed with the next release of e-h. +/// (https://github.com/rust-embedded/embedded-hal/pull/328) #[cfg(feature = "eh1_0_alpha")] pub enum SpiInfallible {} diff --git a/rp2040-hal/src/uart.rs b/rp2040-hal/src/uart.rs index b6724c3..0bd3f49 100644 --- a/rp2040-hal/src/uart.rs +++ b/rp2040-hal/src/uart.rs @@ -532,6 +532,8 @@ impl eh1::Read for UartPeripheral { /// /// For eh 1.0.0-alpha.6, Infallible doesn't implement spi::Error, /// so use a locally defined type instead. +/// This should be removed with the next release of e-h. +/// (https://github.com/rust-embedded/embedded-hal/pull/328) #[cfg(feature = "eh1_0_alpha")] pub enum SerialInfallible {}