mode check for commands executed by supervisor helper
This commit is contained in:
parent
0ea993e16b
commit
ad3bdbcf96
@ -104,6 +104,11 @@ ReturnValue_t PlocSupervisorHandler::executeAction(ActionId_t actionId,
|
||||
return SupvReturnValuesIF::SUPV_HELPER_EXECUTING;
|
||||
}
|
||||
|
||||
result = acceptExternalDeviceCommands();
|
||||
if (result != HasReturnvaluesIF::RETURN_OK) {
|
||||
return result;
|
||||
}
|
||||
|
||||
switch (actionId) {
|
||||
case PERFORM_UPDATE: {
|
||||
if (size > config::MAX_PATH_SIZE + config::MAX_FILENAME_SIZE) {
|
||||
|
Loading…
Reference in New Issue
Block a user