Skip to content

Commit

Permalink
Remove Underrun error variant
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Aug 30, 2021
1 parent 28dc8c3 commit ed105ef
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ pub mod i2c {
NoAcknowledge,
/// The peripheral receive buffer was overrun
Overrun,
/// The peripheral send buffer ran out of data
Underrun,
/// A different error occurred. The original error may contain more information.
Other,
}
Expand All @@ -50,7 +48,6 @@ pub mod i2c {
),
Self::NoAcknowledge => write!(f, "A bus operation was not acknowledged"),
Self::Overrun => write!(f, "The peripheral receive buffer was overrun"),
Self::Underrun => write!(f, "The peripheral send buffer ran out of data"),
Self::Other => write!(
f,
"A different error occurred. The original error may contain more information"
Expand Down

0 comments on commit ed105ef

Please sign in to comment.