reset error count

This commit is contained in:
Robin Müller 2023-08-14 13:19:32 +02:00
parent e4aae75747
commit eae7c44874
Signed by: muellerr
GPG Key ID: 407F9B00F858F270
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ cfdp::SourceHandler::FsmResult& cfdp::SourceHandler::fsmNacked() {
cfdp::SourceHandler::FsmResult& cfdp::SourceHandler::stateMachine() {
fsmResult.packetsSent = 0;
fsmResult.errors = 0;gits
if (state == cfdp::CfdpState::IDLE) {
return fsmResult;
}