Refactor TMTC Stack, improve test framework #655

Merged
mohr merged 150 commits from mueller/refactor-tmtc-stack into development 2022-09-12 14:31:23 +02:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit c756297e5c - Show all commits

View File

@ -36,9 +36,8 @@ struct DataWrapper {
}
[[nodiscard]] bool isNull() const {
if (type == DataTypes::RAW and dataUnion.raw.data == nullptr or
(type == DataTypes::SERIALIZABLE and dataUnion.serializable == nullptr) or
(type == DataTypes::NONE)) {
if ((type == DataTypes::NONE) or (type == DataTypes::RAW and dataUnion.raw.data == nullptr) or
(type == DataTypes::SERIALIZABLE and dataUnion.serializable == nullptr)) {
return true;
}
return false;