Skip to content

Commit

Permalink
Remove LpspiError::{Busy, NoData}
Browse files Browse the repository at this point in the history
The implementation doesn't return these errors anymore. I didn't mark
them as deprecated because users might be matching on them.
  • Loading branch information
mciantyre committed Jul 17, 2024
1 parent 9d7765d commit 06e6f73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
- `timer::*PitChan`
- `lpspi::Disabled::{set_mode, set_watermark}`

**BREAKING** `LpspiError::{Busy, NoData}` are removed as possible LPSPI errors.

## [0.5.6] 2024-07-05

- Add LPSPI low-level clock configuration APIs.
Expand Down
4 changes: 0 additions & 4 deletions src/common/lpspi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ pub enum LpspiError {
FrameSize,
/// FIFO error in the given direction.
Fifo(Direction),
/// Bus is busy at the start of a transfer.
Busy,
/// Caller provided no data.
NoData,
}

/// An LPSPI transaction definition.
Expand Down

0 comments on commit 06e6f73

Please sign in to comment.