From eae7c44874ed951d25126531bf246ff8dfb4db2c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 14 Aug 2023 13:19:32 +0200 Subject: [PATCH] reset error count --- src/fsfw/cfdp/handler/SourceHandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fsfw/cfdp/handler/SourceHandler.cpp b/src/fsfw/cfdp/handler/SourceHandler.cpp index 9460f65a..91ccd337 100644 --- a/src/fsfw/cfdp/handler/SourceHandler.cpp +++ b/src/fsfw/cfdp/handler/SourceHandler.cpp @@ -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; }