Compare commits
16 Commits
83e2cad753
...
9b091e3a3a
Author | SHA1 | Date | |
---|---|---|---|
9b091e3a3a | |||
b07cec28ea | |||
51963d0f72 | |||
2b0828ffb5 | |||
0968d60c05 | |||
db471e313c | |||
6154ce6299 | |||
884de647ad | |||
0d8074c6b9 | |||
6798e3a6f5 | |||
2756670efe | |||
eb5ace0658 | |||
b9cd08cefe | |||
0073db95f9 | |||
251fcdd6c8 | |||
5a878ef6a3 |
@@ -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
|
||||||
|
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user