Merge branch 'mueller/add-tc-scheduler-pus-11' of https://egit.irs.uni-stuttgart.de/KSat/fsfw into mueller/add-tc-scheduler-pus-11
This commit is contained in:
commit
5a4539def4
@ -303,14 +303,15 @@ inline ReturnValue_t Service11TelecommandScheduling<MAX_NUM_TCS>::doTimeshiftAct
|
||||
return result;
|
||||
}
|
||||
if (relativeTime == 0) {
|
||||
return RETURN_FAILED;
|
||||
return INVALID_RELATIVE_TIME;
|
||||
}
|
||||
// TODO further check sanity of the relative time?
|
||||
|
||||
// Get request ID
|
||||
uint64_t requestId;
|
||||
if (getRequestIdFromData(data, size, requestId) != RETURN_OK) {
|
||||
return RETURN_FAILED;
|
||||
result = getRequestIdFromData(data, size, requestId);
|
||||
if (result != RETURN_OK) {
|
||||
return result;
|
||||
}
|
||||
|
||||
if (debugMode) {
|
||||
|
Loading…
Reference in New Issue
Block a user