condition code bugfix
Some checks are pending
Rust/spacepackets/pipeline/head Build queued...

This commit is contained in:
Robin Müller 2024-08-29 09:46:40 +02:00
parent bf15b22889
commit 027b01f00f
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## Fixed ## Fixed
- Fixed an error in the EOF writer which wrote the fault location to the wrong buffer position. - Fixed an error in the EOF writer which wrote the fault location to the wrong buffer position.
- cfdp `ConditionCode::CheckLimitReached` previous had the wrong numerical value of `0b1001` (9)
and now has the correct value of `0b1010` (10).
## Changed ## Changed

View File

@ -116,7 +116,7 @@ pub enum ConditionCode {
FileSizeError = 0b0110, FileSizeError = 0b0110,
NakLimitReached = 0b0111, NakLimitReached = 0b0111,
InactivityDetected = 0b1000, InactivityDetected = 0b1000,
CheckLimitReached = 0b1001, CheckLimitReached = 0b1010,
UnsupportedChecksumType = 0b1011, UnsupportedChecksumType = 0b1011,
/// Not an actual fault condition for which fault handler overrides can be specified /// Not an actual fault condition for which fault handler overrides can be specified
SuspendRequestReceived = 0b1110, SuspendRequestReceived = 0b1110,