From 692b7ec8c3a3145df4444292241c15646d7d3de5 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sat, 22 Jan 2022 17:55:55 +0100 Subject: [PATCH] Minor define change --- tasmota/xdrv_31_tasmota_client.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xdrv_31_tasmota_client.ino b/tasmota/xdrv_31_tasmota_client.ino index 6301393d7..d47f39b43 100644 --- a/tasmota/xdrv_31_tasmota_client.ino +++ b/tasmota/xdrv_31_tasmota_client.ino @@ -52,7 +52,7 @@ #define CMND_END 0xFD #define CMND_FEATURES 0x01 -#define CMND_JSON 0x02 +#define CMND_GET_JSON 0x02 #define CMND_FUNC_EVERY_SECOND 0x03 #define CMND_FUNC_EVERY_100_MSECOND 0x04 #define CMND_CLIENT_SEND 0x05 @@ -438,7 +438,7 @@ bool TasmotaClient_Available(void) { void TasmotaClient_Show(void) { if ((TClient.type) && (TClientSettings.features.func_json_append)) { - TasmotaClient_sendCmnd(CMND_JSON, 0); + TasmotaClient_sendCmnd(CMND_GET_JSON, 0); char buffer[100]; uint8_t len = TasmotaClient_receiveData(buffer, sizeof(buffer) -1);