Merge pull request #3082 from markszente/dsihost-format-derive

Add Format derive to DSI HOST Error
This commit is contained in:
Dario Nieuwenhuis 2024-06-15 21:06:23 +00:00 committed by GitHub
commit 1a2c8cecde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -389,6 +389,7 @@ impl<'d, T: Instance> DsiHost<'d, T> {
/// Possible Error Types for DSI HOST
#[non_exhaustive]
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error {
/// Waiting for FIFO empty flag timed out
FifoTimeout,