diff options
| author | chemicstry <[email protected]> | 2023-07-31 10:32:17 +0300 |
|---|---|---|
| committer | chemicstry <[email protected]> | 2023-07-31 10:32:17 +0300 |
| commit | ad85beb6779cf4e970ab91bb0229b9fdf3c2a8ba (patch) | |
| tree | 6fd5adb360b9ea12b670a3033daff30c4045a6d1 /embassy-stm32 | |
| parent | 780569c08ab089dae67c5d57dd1852d5419d4577 (diff) | |
stm32/can: Add more derives for CAN Envelope
Diffstat (limited to 'embassy-stm32')
| -rw-r--r-- | embassy-stm32/src/can/bxcan.rs | 2 |
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))] |
| 24 | pub struct Envelope { | 24 | pub struct Envelope { |
| 25 | #[cfg(feature = "time")] | 25 | #[cfg(feature = "time")] |
