Compare commits
4 Commits
9b091e3a3a
...
ae55c394bb
Author | SHA1 | Date | |
---|---|---|---|
ae55c394bb | |||
30a9cb8c5b | |||
f8feb027de | |||
2758699601 |
@@ -279,6 +279,10 @@ impl<'slice> PusTc<'slice> {
|
||||
)
|
||||
}
|
||||
|
||||
pub fn sp_header(&self) -> &SpHeader {
|
||||
&self.sp_header
|
||||
}
|
||||
|
||||
pub fn len_packed(&self) -> usize {
|
||||
let mut length = PUS_TC_MIN_LEN_WITHOUT_APP_DATA;
|
||||
if let Some(app_data) = self.app_data {
|
||||
|
@@ -4,6 +4,7 @@
|
||||
//! [chrono::format::DelayedFormat] structs.
|
||||
#[cfg(feature = "alloc")]
|
||||
use chrono::format::{DelayedFormat, StrftimeItems};
|
||||
#[cfg(feature = "alloc")]
|
||||
use chrono::{DateTime, Utc};
|
||||
|
||||
/// Tuple of format string and formatted size for time code A.
|
||||
|
Reference in New Issue
Block a user