This commit is contained in:
Robin Müller 2021-01-08 16:16:17 +01:00
parent c0fd981360
commit a9dba82661

View File

@ -1322,8 +1322,8 @@ void DeviceHandlerBase::buildInternalCommand(void) {
if (iter == deviceCommandMap.end()) { if (iter == deviceCommandMap.end()) {
result = COMMAND_NOT_SUPPORTED; result = COMMAND_NOT_SUPPORTED;
} else if (iter->second.isExecuting) { } else if (iter->second.isExecuting) {
char* output = nullptr; char output[36];
sprintf(output, "Command %lu is executing", deviceCommandId); sprintf(output, "Command 0x%08x is executing", deviceCommandId);
// so we can track misconfigurations // so we can track misconfigurations
printWarningOrError(fsfw::OutputTypes::OUT_WARNING, printWarningOrError(fsfw::OutputTypes::OUT_WARNING,
"buildInternalCommand", "buildInternalCommand",