pull/3536/head
Blaz Kristan 2023-11-18 18:50:19 +01:00
rodzic 76a7f25083
commit 75f6a53269
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -675,7 +675,7 @@ void decodeIRJson(uint32_t code)
} else {
// HTTP API command
String apireq = "win"; apireq += '&'; // reduce flash string usage
if (cmdStr.indexOf("~") != -1 || fdo["rpt"]) lastValidCode = code; // repeatable action
if (cmdStr.indexOf("~") > 0 || fdo["rpt"]) lastValidCode = code; // repeatable action
if (!cmdStr.startsWith(apireq)) cmdStr = apireq + cmdStr; // if no "win&" prefix
if (!irApplyToAllSelected && cmdStr.indexOf(F("SS="))<0) {
char tmp[10];