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