This commit is contained in:
parent
0163791e26
commit
5e1d0543d7
@ -1468,7 +1468,7 @@ ReturnValue_t PlocSupervisorHandler::prepareFactoryResetCmd(const uint8_t* comma
|
|||||||
size_t len) {
|
size_t len) {
|
||||||
FactoryReset resetCmd(spParams);
|
FactoryReset resetCmd(spParams);
|
||||||
if (len < 1) {
|
if (len < 1) {
|
||||||
return HasActionsIF::INVALID_PARAMETERS;
|
return HasActionsIF::INVALID_PARAMETERS;
|
||||||
}
|
}
|
||||||
ReturnValue_t result = resetCmd.buildPacket(commandData[0]);
|
ReturnValue_t result = resetCmd.buildPacket(commandData[0]);
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user