minor udpates for PLOC SUPV code
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -1467,11 +1467,10 @@ ReturnValue_t PlocSupervisorHandler::prepareReadGpioCmd(const uint8_t* commandDa
|
||||
ReturnValue_t PlocSupervisorHandler::prepareFactoryResetCmd(const uint8_t* commandData,
|
||||
size_t len) {
|
||||
FactoryReset resetCmd(spParams);
|
||||
std::optional<uint8_t> op;
|
||||
if (len > 0) {
|
||||
op = commandData[0];
|
||||
if (len < 1) {
|
||||
return HasActionsIF::INVALID_PARAMETERS;
|
||||
}
|
||||
ReturnValue_t result = resetCmd.buildPacket(op);
|
||||
ReturnValue_t result = resetCmd.buildPacket(commandData[0]);
|
||||
if (result != returnvalue::OK) {
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user