some minor fixes and tweaks

This commit is contained in:
2023-07-06 01:24:40 +02:00
parent 4485ed2669
commit 32cbbb1c19
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `GenericUnsignedByteField<TYPE>` and helper typedefs `UnsignedU8`, `UnsignedU16`, `UnsignedU32`
and `UnsignedU64` as helper types implementing `UnsignedEnum`
- `UnsignedByteField` as a type-erased helper.
- Initial CFDP support: Added PDU packet implementation.
- Added `SerializablePusPacket` as a generic abstraction for PUS packets which are
writable.
- Added new `PusTmZeroCopyWriter` class which allows to set fields on a raw TM packet,
@@ -26,7 +27,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## Changed
- The `EcssEnumeration` now requires the `UnsignedEnum` trait and only adds the `pfc` method to it.
- Renamed `byte_width` usages to `len` (part of new `UnsignedEnum` trait)
- Renamed `byte_width` usages to `size` (part of new `UnsignedEnum` trait)
- Moved `ecss::CRC_CCITT_FALSE` CRC constant to the root module. This CRC type is not just used by
the PUS standard, but by the CCSDS Telecommand standard and the CFDP standard as well.
+1 -1
View File
@@ -36,7 +36,7 @@ version = "0.2"
default-features = false
[dev-dependencies.postcard]
version = "1.0"
version = "1"
[features]
default = ["std"]
+1 -1
View File
@@ -806,7 +806,7 @@ mod tests {
.expect("Creating zero copy writer failed");
writer.set_destination_id(55);
writer.set_msg_count(100);
writer.set_seq_count_in_place(MAX_SEQ_COUNT);
writer.set_seq_count(MAX_SEQ_COUNT);
writer.set_apid(MAX_APID);
writer.finish();
// This performs all necessary checks, including the CRC check.