inline attr

This commit is contained in:
Robin Mueller
2025-10-30 18:56:15 +01:00
parent 8e90dded1e
commit 12b50567ae

View File

@@ -1012,6 +1012,7 @@ impl CcsdsPacketId {
} }
} }
#[inline]
pub const fn raw(&self) -> u32 { pub const fn raw(&self) -> u32 {
((self.packet_id.raw() as u32) << 16) | self.psc.raw() as u32 ((self.packet_id.raw() as u32) << 16) | self.psc.raw() as u32
} }