Skip to content

Commit

Permalink
Merge pull request 'condition code bugfix' (#110) from cfdp-cond-code…
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Aug 29, 2024
2 parents bf15b22 + 027b01f commit 448b76b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## Fixed

- 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

Expand Down
2 changes: 1 addition & 1 deletion src/cfdp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub enum ConditionCode {
FileSizeError = 0b0110,
NakLimitReached = 0b0111,
InactivityDetected = 0b1000,
CheckLimitReached = 0b1001,
CheckLimitReached = 0b1010,
UnsupportedChecksumType = 0b1011,
/// Not an actual fault condition for which fault handler overrides can be specified
SuspendRequestReceived = 0b1110,
Expand Down

0 comments on commit 448b76b

Please sign in to comment.