fix for error handling longer request
EIVE/eive-obsw/pipeline/pr-develop This commit looks good Details

This commit is contained in:
Robin Müller 2022-11-17 17:46:06 +01:00
parent 0857a480e5
commit c248cdb876
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 3 additions and 4 deletions

View File

@ -117,10 +117,9 @@ ReturnValue_t PlocSupvUartManager::performOperation(uint8_t operationCode) {
break;
}
case InternalState::DEDICATED_REQUEST: {
if (handleRunningLongerRequest() == REQUEST_DONE) {
MutexGuard mg(lock);
state = InternalState::DEFAULT;
}
handleRunningLongerRequest();
MutexGuard mg(lock);
state = InternalState::DEFAULT;
break;
}
case InternalState::DEFAULT: {