diff options
Diffstat (limited to 'src/structs.rs')
| -rw-r--r-- | src/structs.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/structs.rs b/src/structs.rs index ed5fc18df..6d4525a46 100644 --- a/src/structs.rs +++ b/src/structs.rs | |||
| @@ -53,6 +53,9 @@ pub struct CdcHeader { | |||
| 53 | } | 53 | } |
| 54 | impl_bytes!(CdcHeader); | 54 | impl_bytes!(CdcHeader); |
| 55 | 55 | ||
| 56 | pub const BDC_VERSION: u8 = 2; | ||
| 57 | pub const BDC_VERSION_SHIFT: u8 = 4; | ||
| 58 | |||
| 56 | #[derive(Clone, Copy)] | 59 | #[derive(Clone, Copy)] |
| 57 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 60 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 58 | #[repr(C)] | 61 | #[repr(C)] |
