small fix for serde
Rust/spacepackets/pipeline/head There was a failure building this commit Details
Rust/spacepackets/pipeline/pr-main There was a failure building this commit Details

This commit is contained in:
Robin Müller 2024-03-29 13:49:21 +01:00
parent 01168d8ab2
commit 3edf13cca2
Signed by: muellerr
GPG Key ID: A649FB78196E3849
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ impl<'slice> TryFrom<zc::PusTmSecHeader<'slice>> for PusTmSecondaryHeader<'slice
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct PusTmCreator<'time, 'raw_data> {
pub sp_header: SpHeader,
#[cfg_attr(feature="serde", serde(borrow))]
pub sec_header: PusTmSecondaryHeader<'time>,
source_data: &'raw_data [u8],
/// If this is set to false, a manual call to [PusTm::calc_own_crc16] or