Skip to content

Commit d660d7b

Browse files
committed
Remove SPI unspecific bus error
1 parent a0497d7 commit d660d7b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/spi/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ pub trait Error: core::fmt::Debug {
7272
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
7373
#[non_exhaustive]
7474
pub enum ErrorKind {
75-
/// An unspecific bus error occurred
76-
Bus,
7775
/// The peripheral receive buffer was overrun
7876
Overrun,
7977
/// Multiple devices on the SPI bus are trying across each other, e.g. in a multi-master setup
@@ -95,7 +93,6 @@ impl Error for ErrorKind {
9593
impl core::fmt::Display for ErrorKind {
9694
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
9795
match self {
98-
Self::Bus => write!(f, "An unspecific bus error occurred"),
9996
Self::Overrun => write!(f, "The peripheral receive buffer was overrun"),
10097
Self::ModeFault => write!(
10198
f,

0 commit comments

Comments
 (0)