Skip to content

Commit 1f4fea9

Browse files
committed
Remove SPI ErrorKind::Crc variant
1 parent 596ba88 commit 1f4fea9

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
@@ -76,8 +76,6 @@ pub enum ErrorKind {
7676
Overrun,
7777
/// Multiple devices on the SPI bus are trying to drive the slave select pin, e.g. in a multi-master setup
7878
ModeFault,
79-
/// CRC does not match the received data
80-
Crc,
8179
/// Received data does not conform to the peripheral configuration
8280
FrameFormat,
8381
/// A different error occurred. The original error may contain more information.
@@ -98,7 +96,6 @@ impl core::fmt::Display for ErrorKind {
9896
f,
9997
"Multiple devices on the SPI bus are trying to drive the slave select pin"
10098
),
101-
Self::Crc => write!(f, "CRC does not match the received data"),
10299
Self::FrameFormat => write!(
103100
f,
104101
"Received data does not conform to the peripheral configuration"

0 commit comments

Comments
 (0)