mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 04:51:31 +11:00
Update comments
This commit is contained in:
parent
9a018ac359
commit
3ab84702b7
|
@ -190,6 +190,8 @@ impl<D: SpiDevice, const DS: u8> Spi<Enabled, D, DS> {
|
|||
///
|
||||
/// 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 {}
|
||||
|
||||
|
|
|
@ -532,6 +532,8 @@ impl<D: UartDevice> eh1::Read<u8> for UartPeripheral<Enabled, D> {
|
|||
///
|
||||
/// 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 {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue