diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-03-27 03:33:06 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-03-27 03:33:06 +0200 |
| commit | cffc3fc7956570c66bf1bd259a4f68a8ca02fe58 (patch) | |
| tree | 25ef48ee2e02a29528cf2d42bff4d78d52f349bf /src/structs.rs | |
| parent | bb90bb8c563a02d314ba574f45816d5d3c79be38 (diff) | |
Fix build with log.
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 { |
