small fix

This commit is contained in:
2023-07-27 10:10:54 +02:00
parent afc72c0d97
commit 9219d2bc8c
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ ReturnValue_t ScexDeviceHandler::buildCommandFromCommand(DeviceCommandId_t devic
return DeviceHandlerIF::COMMAND_NOT_IMPLEMENTED;
}
bool tempCheck = false;
if (commandDataLen == 1) {
if (commandDataLen >= 1) {
tempCheck = commandData[0];
}
if (commandActive) {