aboutsummaryrefslogtreecommitdiff
path: root/src/structs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs.rs')
-rw-r--r--src/structs.rs8
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}
45impl_bytes!(SharedMemLog); 45impl_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)]
50pub struct SdpcmHeader { 50pub struct SdpcmHeader {
@@ -67,7 +67,7 @@ pub struct SdpcmHeader {
67} 67}
68impl_bytes!(SdpcmHeader); 68impl_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)]
73pub struct CdcHeader { 73pub struct CdcHeader {
@@ -82,7 +82,7 @@ impl_bytes!(CdcHeader);
82pub const BDC_VERSION: u8 = 2; 82pub const BDC_VERSION: u8 = 2;
83pub const BDC_VERSION_SHIFT: u8 = 4; 83pub 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)]
88pub struct BcdHeader { 88pub 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)]
135pub struct EventMessage { 135pub struct EventMessage {