Merge branch 'sp_header_getter' into all_features
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
This commit is contained in:
commit
f8feb027de
@ -279,6 +279,10 @@ impl<'slice> PusTc<'slice> {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn sp_header(&self) -> &SpHeader {
|
||||||
|
&self.sp_header
|
||||||
|
}
|
||||||
|
|
||||||
pub fn len_packed(&self) -> usize {
|
pub fn len_packed(&self) -> usize {
|
||||||
let mut length = PUS_TC_MIN_LEN_WITHOUT_APP_DATA;
|
let mut length = PUS_TC_MIN_LEN_WITHOUT_APP_DATA;
|
||||||
if let Some(app_data) = self.app_data {
|
if let Some(app_data) = self.app_data {
|
||||||
|
Loading…
Reference in New Issue
Block a user