whoops
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Marius Eggert 2024-03-05 13:08:29 +01:00
parent 85ed8420fd
commit 440d989490

View File

@ -481,7 +481,7 @@ ReturnValue_t CoreController::executeAction(ActionId_t actionId, MessageQueueId_
return returnvalue::OK; return returnvalue::OK;
} }
case (UPDATE_LEAP_SECONDS): { case (UPDATE_LEAP_SECONDS): {
if (size != 2) { if (size != sizeof(uint16_t)) {
return HasActionsIF::INVALID_PARAMETERS; return HasActionsIF::INVALID_PARAMETERS;
} }
ReturnValue_t result = actionUpdateLeapSeconds(data); ReturnValue_t result = actionUpdateLeapSeconds(data);