diff --git a/src/fsfw/globalfunctions/DleParser.h b/src/fsfw/globalfunctions/DleParser.h index f1a4f193..5ccd55df 100644 --- a/src/fsfw/globalfunctions/DleParser.h +++ b/src/fsfw/globalfunctions/DleParser.h @@ -44,6 +44,7 @@ class DleParser { Context(void* args) : userArgs(args) { setType(ContextType::PACKET_FOUND); } void setType(ContextType type) { + this->type = type; if (type == ContextType::PACKET_FOUND) { error.first = ErrorTypes::NONE; error.second.len = 0;