Merge branch 'improve_cds_short_impl' 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
9b091e3a3a
@ -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.
|
||||||
|
@ -124,7 +124,7 @@ pub fn precision_from_pfield(pfield: u8) -> SubmillisPrecision {
|
|||||||
/// assert_eq!(stamp_deserialized.len_as_bytes(), 7);
|
/// assert_eq!(stamp_deserialized.len_as_bytes(), 7);
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[derive(Debug, Copy, Clone, Default, PartialEq, Eq)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||||
pub struct TimeProvider<DaysLen: ProvidesDaysLength = DaysLen16Bits> {
|
pub struct TimeProvider<DaysLen: ProvidesDaysLength = DaysLen16Bits> {
|
||||||
pfield: u8,
|
pfield: u8,
|
||||||
|
Loading…
Reference in New Issue
Block a user