mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-16 21:13:44 +02:00
Fix typo preventing command payload to be passed down
This commit is contained in:
@@ -79,9 +79,7 @@ CommandResult CommandManager::executeFromJson(std::string_view json)
|
||||
|
||||
std::string commandPayloadString = "";
|
||||
if (commandPayload != nullptr)
|
||||
{
|
||||
std::string commandPayloadString = std::string(cJSON_Print(commandPayload));
|
||||
}
|
||||
commandPayloadString = std::string(cJSON_Print(commandPayload));
|
||||
|
||||
auto command = createCommand(commandType, commandPayloadString);
|
||||
if (command == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user