From 5e962879c120cd88a206e4e4463580c7ef8c5cc9 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Wed, 28 Aug 2019 22:24:40 +0200 Subject: [PATCH] Align to new behavior for codes >64 bits --- sonoff/i18n.h | 1 - sonoff/xdrv_05_irremote_full.ino | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sonoff/i18n.h b/sonoff/i18n.h index 0dd56ab73..38f524e4c 100644 --- a/sonoff/i18n.h +++ b/sonoff/i18n.h @@ -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" diff --git a/sonoff/xdrv_05_irremote_full.ino b/sonoff/xdrv_05_irremote_full.ino index 3026bebb8..48dfa1498 100644 --- a/sonoff/xdrv_05_irremote_full.ino +++ b/sonoff/xdrv_05_irremote_full.ino @@ -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 {