some more extensions for PDU impl
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

This commit is contained in:
2023-07-26 23:27:40 +02:00
parent c65a024d97
commit 105c598c53
3 changed files with 9 additions and 2 deletions

View File

@ -11,7 +11,7 @@ use alloc::vec::Vec;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[derive(Default, Debug, Copy, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct MetadataGenericParams {
pub closure_requested: bool,

View File

@ -232,7 +232,8 @@ impl CommonPduConfig {
LargeFileFlag::Normal,
CrcFlag::NoCrc,
Direction::TowardsReceiver,
).unwrap()
)
.unwrap()
}
pub fn source_id(&self) -> UnsignedByteField {