Merge remote-tracking branch 'origin/main' into add_cuc_time_impl
This commit is contained in:
commit
6c88e94742
@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
# [unreleased]
|
# [unreleased]
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Remove `Default` derive on CDS time provider. This can lead to uninitialized preamble fields.
|
||||||
|
|
||||||
## Changed
|
## Changed
|
||||||
|
|
||||||
- `serde` support is now optional and behind the `serde` feature.
|
- `serde` support is now optional and behind the `serde` feature.
|
||||||
@ -19,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
The function now returns the remaining slice as well.
|
The function now returns the remaining slice as well.
|
||||||
- All CDS specific functionality was moved into the `cds` submodule of the `time`
|
- All CDS specific functionality was moved into the `cds` submodule of the `time`
|
||||||
module. `CdsShortTimeProvider` was renamed to `TimeProvider`.
|
module. `CdsShortTimeProvider` was renamed to `TimeProvider`.
|
||||||
|
PR: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/3
|
||||||
|
|
||||||
## Added
|
## Added
|
||||||
|
|
||||||
|
@ -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