mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-26 03:06:32 +11:00
Update comments
This commit is contained in:
parent
9a018ac359
commit
3ab84702b7
2 changed files with 4 additions and 0 deletions
|
@ -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,
|
/// For eh 1.0.0-alpha.6, Infallible doesn't implement spi::Error,
|
||||||
/// so use a locally defined type instead.
|
/// 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")]
|
#[cfg(feature = "eh1_0_alpha")]
|
||||||
pub enum SpiInfallible {}
|
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,
|
/// For eh 1.0.0-alpha.6, Infallible doesn't implement spi::Error,
|
||||||
/// so use a locally defined type instead.
|
/// 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")]
|
#[cfg(feature = "eh1_0_alpha")]
|
||||||
pub enum SerialInfallible {}
|
pub enum SerialInfallible {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue