From d76868e136e4fc63e0c7b504c8c781a9cd9533d6 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 6 Jun 2021 18:08:31 +0200 Subject: [PATCH] Fix compilation error --- tasmota/xdrv_12_home_assistant.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_12_home_assistant.ino b/tasmota/xdrv_12_home_assistant.ino index 7378be79c..870efa30a 100644 --- a/tasmota/xdrv_12_home_assistant.ino +++ b/tasmota/xdrv_12_home_assistant.ino @@ -892,7 +892,7 @@ void HAssAnnounceSensors(void) strcpy(sensordata, TasmotaGlobal.mqtt_data.c_str()); // we can use strcpy since the buffer has the right size #else strcpy(sensordata, TasmotaGlobal.mqtt_data); // we can use strcpy since the buffer has the right size -#eindif +#endif // ******************* JSON TEST ******************* // char sensordata[512];