diff --git a/CHANGELOG.md b/CHANGELOG.md index de576ea6..61ee5871 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ will consitute of a breaking change warranting a new major release: # [unreleased] +## Fixed + +- Small SCEX fix: The temperatur check option was not passed + on for commands with a user data size larger than 1. + # [v6.2.0] 2023-07-26 - `eive-tmtc`: v5.3.1 diff --git a/mission/payload/ScexDeviceHandler.cpp b/mission/payload/ScexDeviceHandler.cpp index 8c3b7386..f44aa78b 100644 --- a/mission/payload/ScexDeviceHandler.cpp +++ b/mission/payload/ScexDeviceHandler.cpp @@ -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) { diff --git a/tmtc b/tmtc index cbcc06ed..ab770a00 160000 --- a/tmtc +++ b/tmtc @@ -1 +1 @@ -Subproject commit cbcc06ede704d36e1558aae922092470fee5ff66 +Subproject commit ab770a0057258cc399072477a42eb0253d919aba