mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
input "erev" param bug
This commit is contained in:
@@ -488,7 +488,7 @@ bool Input::executeCommand(aJsonObject* cmd, int8_t toggle, char* defCmd)
|
|||||||
else itemCommand = defCmd;
|
else itemCommand = defCmd;
|
||||||
|
|
||||||
char * emitCommand;
|
char * emitCommand;
|
||||||
if (erev && toggle && erev->type == aJson_String) itemCommand = erev->valuestring;
|
if (erev && toggle && erev->type == aJson_String) emitCommand = erev->valuestring;
|
||||||
else if(ecmd && ecmd->type == aJson_String) emitCommand = ecmd->valuestring;
|
else if(ecmd && ecmd->type == aJson_String) emitCommand = ecmd->valuestring;
|
||||||
else emitCommand = defCmd;
|
else emitCommand = defCmd;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user