Fix NaN for Limiting Rotation Rates #872

Merged
meggert merged 17 commits from limit-rot-rate-fix into main 2024-03-06 11:13:02 +01:00
Showing only changes of commit 440d989490 - Show all commits

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