Skip to content

Commit

Permalink
small fix for serde
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Mar 29, 2024
1 parent 01168d8 commit 3edf13c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ecss/tm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 218 in src/ecss/tm.rs

View workflow job for this annotation

GitHub Actions / Check Documentation Build

unresolved link to `PusTm::calc_own_crc16`
Expand Down

0 comments on commit 3edf13c

Please sign in to comment.