Skip to content

Commit

Permalink
Remove SPI unspecific bus error
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Sep 2, 2021
1 parent a0497d7 commit d660d7b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/spi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ pub trait Error: core::fmt::Debug {
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[non_exhaustive]
pub enum ErrorKind {
/// An unspecific bus error occurred
Bus,
/// The peripheral receive buffer was overrun
Overrun,
/// Multiple devices on the SPI bus are trying across each other, e.g. in a multi-master setup
Expand All @@ -95,7 +93,6 @@ impl Error for ErrorKind {
impl core::fmt::Display for ErrorKind {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
match self {
Self::Bus => write!(f, "An unspecific bus error occurred"),
Self::Overrun => write!(f, "The peripheral receive buffer was overrun"),
Self::ModeFault => write!(
f,
Expand Down

0 comments on commit d660d7b

Please sign in to comment.