mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Add missing derive
This commit is contained in:
parent
930b8f3495
commit
022d870d61
@ -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 New Issue
Block a user