Skip to content
Snippets Groups Projects
Unverified Commit f0d1e6b1 authored by Dimitrios Stoupis's avatar Dimitrios Stoupis
Browse files

Using the byte skipping method

parent 834c813c
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ void TimeBasedSchedulingService::insertActivities(Message &request) { ...@@ -50,7 +50,7 @@ void TimeBasedSchedulingService::insertActivities(Message &request) {
if ((not scheduledActivities.available()) || if ((not scheduledActivities.available()) ||
(releaseTime < (currentTime + ECSS_TIME_MARGIN_FOR_ACTIVATION))) { (releaseTime < (currentTime + ECSS_TIME_MARGIN_FOR_ACTIVATION))) {
ErrorHandler::reportError(request, ErrorHandler::InstructionExecutionStartError); ErrorHandler::reportError(request, ErrorHandler::InstructionExecutionStartError);
request.readPosition += ECSS_TC_REQUEST_STRING_SIZE; request.skipBytes(ECSS_TC_REQUEST_STRING_SIZE);
} else { } else {
// Get the TC packet request // Get the TC packet request
uint8_t requestData[ECSS_TC_REQUEST_STRING_SIZE] = {0}; uint8_t requestData[ECSS_TC_REQUEST_STRING_SIZE] = {0};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment