mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
Align to new behavior for codes >64 bits
This commit is contained in:
parent
ab5af7bf47
commit
5e962879c1
@ -383,7 +383,6 @@
|
||||
#define D_JSON_IR_BITS "Bits"
|
||||
#define D_JSON_IR_DATA "Data"
|
||||
#define D_JSON_IR_DATALSB "DataLSB"
|
||||
#define D_JSON_IR_DATALONG "DataLong"
|
||||
#define D_JSON_IR_RAWDATA "RawData"
|
||||
#define D_JSON_IR_REPEAT "Repeat"
|
||||
#define D_CMND_IRHVAC "IRHVAC"
|
||||
|
@ -173,7 +173,7 @@ String sendIRJsonState(const struct decode_results &results) {
|
||||
json += results.bits;
|
||||
|
||||
if (hasACState(results.decode_type)) {
|
||||
json += ",\"" D_JSON_IR_DATALONG "\":\"";
|
||||
json += ",\"" D_JSON_IR_DATA "\":\"0x";
|
||||
json += resultToHexidecimal(&results);
|
||||
json += "\"";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user