Align to new behavior for codes >64 bits

This commit is contained in:
Stephan Hadinger 2019-08-28 22:24:40 +02:00
parent ab5af7bf47
commit 5e962879c1
2 changed files with 1 additions and 2 deletions

View File

@ -383,7 +383,6 @@
#define D_JSON_IR_BITS "Bits" #define D_JSON_IR_BITS "Bits"
#define D_JSON_IR_DATA "Data" #define D_JSON_IR_DATA "Data"
#define D_JSON_IR_DATALSB "DataLSB" #define D_JSON_IR_DATALSB "DataLSB"
#define D_JSON_IR_DATALONG "DataLong"
#define D_JSON_IR_RAWDATA "RawData" #define D_JSON_IR_RAWDATA "RawData"
#define D_JSON_IR_REPEAT "Repeat" #define D_JSON_IR_REPEAT "Repeat"
#define D_CMND_IRHVAC "IRHVAC" #define D_CMND_IRHVAC "IRHVAC"

View File

@ -173,7 +173,7 @@ String sendIRJsonState(const struct decode_results &results) {
json += results.bits; json += results.bits;
if (hasACState(results.decode_type)) { if (hasACState(results.decode_type)) {
json += ",\"" D_JSON_IR_DATALONG "\":\""; json += ",\"" D_JSON_IR_DATA "\":\"0x";
json += resultToHexidecimal(&results); json += resultToHexidecimal(&results);
json += "\""; json += "\"";
} else { } else {