diff --git a/src/lib/ebus/data.cpp b/src/lib/ebus/data.cpp index fd765777..a464d9de 100644 --- a/src/lib/ebus/data.cpp +++ b/src/lib/ebus/data.cpp @@ -175,7 +175,7 @@ result_t DataField::create(std::vector::iterator& it, break; } - if (pos > maxPos) { // TODO check this in real offset as well + if (pos > maxPos) { result = RESULT_ERR_INVALID_ARG; // invalid pos definition break; }