Skip to content

Commit

Permalink
Reset status on error error reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Stricker committed Oct 28, 2020
1 parent 9b7895e commit 922600e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Logical/mappLogbook/Logbook/Main.st
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ PROGRAM _CYCLIC
// Reset error
IF gLogbook.CMD.ResetError THEN
brsmemset(ADR(gLogbook.ERR), 0, SIZEOF(gLogbook.ERR));
gLogbook.Status := 0;
gLogbook.CMD.ResetError := FALSE;
state := enumWait;
END_IF
Expand Down

0 comments on commit 922600e

Please sign in to comment.