diff options
Diffstat (limited to 'src/structs.rs')
| -rw-r--r-- | src/structs.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/structs.rs b/src/structs.rs index 41a340661..e16808f30 100644 --- a/src/structs.rs +++ b/src/structs.rs | |||
| @@ -44,7 +44,7 @@ pub struct SharedMemLog { | |||
| 44 | } | 44 | } |
| 45 | impl_bytes!(SharedMemLog); | 45 | impl_bytes!(SharedMemLog); |
| 46 | 46 | ||
| 47 | #[derive(Clone, Copy)] | 47 | #[derive(Debug, Clone, Copy)] |
| 48 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 48 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 49 | #[repr(C)] | 49 | #[repr(C)] |
| 50 | pub struct SdpcmHeader { | 50 | pub struct SdpcmHeader { |
| @@ -67,7 +67,7 @@ pub struct SdpcmHeader { | |||
| 67 | } | 67 | } |
| 68 | impl_bytes!(SdpcmHeader); | 68 | impl_bytes!(SdpcmHeader); |
| 69 | 69 | ||
| 70 | #[derive(Clone, Copy)] | 70 | #[derive(Debug, Clone, Copy)] |
| 71 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 71 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 72 | #[repr(C)] | 72 | #[repr(C)] |
| 73 | pub struct CdcHeader { | 73 | pub struct CdcHeader { |
| @@ -82,7 +82,7 @@ impl_bytes!(CdcHeader); | |||
| 82 | pub const BDC_VERSION: u8 = 2; | 82 | pub const BDC_VERSION: u8 = 2; |
| 83 | pub const BDC_VERSION_SHIFT: u8 = 4; | 83 | pub const BDC_VERSION_SHIFT: u8 = 4; |
| 84 | 84 | ||
| 85 | #[derive(Clone, Copy)] | 85 | #[derive(Debug, Clone, Copy)] |
| 86 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 86 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 87 | #[repr(C)] | 87 | #[repr(C)] |
| 88 | pub struct BcdHeader { | 88 | pub struct BcdHeader { |
| @@ -129,7 +129,7 @@ impl EventHeader { | |||
| 129 | } | 129 | } |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | #[derive(Clone, Copy)] | 132 | #[derive(Debug, Clone, Copy)] |
| 133 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 133 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 134 | #[repr(C)] | 134 | #[repr(C)] |
| 135 | pub struct EventMessage { | 135 | pub struct EventMessage { |
