Skip to content

Commit

Permalink
Implement defmt::Format for UartError
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Velagapudi <[email protected]>
  • Loading branch information
akhilles committed Nov 22, 2024
1 parent 8bc16f8 commit 81d2375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub enum IrdaMode {

/// Serial error
#[non_exhaustive]
#[derive(Debug)]
#[derive(Debug, defmt::Format)]
pub enum UartError {
/// Framing error
Framing,
Expand Down

0 comments on commit 81d2375

Please sign in to comment.