aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/can/bxcan.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/can/bxcan.rs b/embassy-stm32/src/can/bxcan.rs
index 448be1cdd..a3e3ec860 100644
--- a/embassy-stm32/src/can/bxcan.rs
+++ b/embassy-stm32/src/can/bxcan.rs
@@ -19,7 +19,7 @@ use crate::{interrupt, peripherals, Peripheral};
19/// Contains CAN frame and additional metadata. 19/// Contains CAN frame and additional metadata.
20/// 20///
21/// Timestamp is available if `time` feature is enabled. 21/// Timestamp is available if `time` feature is enabled.
22#[derive(Debug)] 22#[derive(Debug, Clone, PartialEq, Eq)]
23#[cfg_attr(feature = "defmt", derive(defmt::Format))] 23#[cfg_attr(feature = "defmt", derive(defmt::Format))]
24pub struct Envelope { 24pub struct Envelope {
25 #[cfg(feature = "time")] 25 #[cfg(feature = "time")]