Add missing derive
This commit is contained in:
parent
930b8f3495
commit
022d870d61
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ use crate::interrupt::typelevel::{Binding, Interrupt};
|
||||||
use crate::{interrupt, pac, peripherals, Peripheral};
|
use crate::{interrupt, pac, peripherals, Peripheral};
|
||||||
|
|
||||||
/// I2C error abort reason
|
/// I2C error abort reason
|
||||||
#[derive(Debug)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||||
pub enum AbortReason {
|
pub enum AbortReason {
|
||||||
/// A bus operation was not acknowledged, e.g. due to the addressed device
|
/// A bus operation was not acknowledged, e.g. due to the addressed device
|
||||||
|
|
Loading…
Reference in a new issue