aboutsummaryrefslogtreecommitdiff
path: root/src/structs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs.rs')
-rw-r--r--src/structs.rs3
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}
54impl_bytes!(CdcHeader); 54impl_bytes!(CdcHeader);
55 55
56pub const BDC_VERSION: u8 = 2;
57pub 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)]