stm32/can: Add more derives for CAN Envelope
This commit is contained in:
parent
780569c08a
commit
ad85beb677
@ -19,7 +19,7 @@ use crate::{interrupt, peripherals, Peripheral};
|
||||
/// Contains CAN frame and additional metadata.
|
||||
///
|
||||
/// Timestamp is available if `time` feature is enabled.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||
pub struct Envelope {
|
||||
#[cfg(feature = "time")]
|
||||
|
Loading…
Reference in New Issue
Block a user