small important bugfix for DLE parser
fsfw/fsfw/pipeline/pr-development There was a failure building this commit Details

This commit is contained in:
Robin Müller 2022-09-28 17:04:11 +02:00
parent 9927dbb2e4
commit c47bed0760
1 changed files with 1 additions and 0 deletions

View File

@ -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;