Skip to content

Commit ed105ef

Browse files
committed
Remove Underrun error variant
1 parent 28dc8c3 commit ed105ef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/errors.rs

-3
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ pub mod i2c {
2828
NoAcknowledge,
2929
/// The peripheral receive buffer was overrun
3030
Overrun,
31-
/// The peripheral send buffer ran out of data
32-
Underrun,
3331
/// A different error occurred. The original error may contain more information.
3432
Other,
3533
}
@@ -50,7 +48,6 @@ pub mod i2c {
5048
),
5149
Self::NoAcknowledge => write!(f, "A bus operation was not acknowledged"),
5250
Self::Overrun => write!(f, "The peripheral receive buffer was overrun"),
53-
Self::Underrun => write!(f, "The peripheral send buffer ran out of data"),
5451
Self::Other => write!(
5552
f,
5653
"A different error occurred. The original error may contain more information"

0 commit comments

Comments
 (0)