fix for error handling longer request
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

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

View File

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