Update FSFW from Upstream #27

Merged
muellerr merged 523 commits from mueller/update-from-upstream into develop 2022-05-17 10:06:59 +02:00
Showing only changes of commit 038e47a46e - Show all commits

View File

@ -303,14 +303,15 @@ inline ReturnValue_t Service11TelecommandScheduling<MAX_NUM_TCS>::doTimeshiftAct
return result; return result;
} }
if (relativeTime == 0) { if (relativeTime == 0) {
return RETURN_FAILED; return INVALID_RELATIVE_TIME;
} }
// TODO further check sanity of the relative time? // TODO further check sanity of the relative time?
// Get request ID // Get request ID
uint64_t requestId; uint64_t requestId;
if (getRequestIdFromData(data, size, requestId) != RETURN_OK) { result = getRequestIdFromData(data, size, requestId);
return RETURN_FAILED; if (result != RETURN_OK) {
return result;
} }
if (debugMode) { if (debugMode) {