Fix compilation error

This commit is contained in:
Theo Arends 2021-06-06 18:08:31 +02:00
parent ad595a6537
commit d76868e136

View File

@ -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 strcpy(sensordata, TasmotaGlobal.mqtt_data.c_str()); // we can use strcpy since the buffer has the right size
#else #else
strcpy(sensordata, TasmotaGlobal.mqtt_data); // we can use strcpy since the buffer has the right size strcpy(sensordata, TasmotaGlobal.mqtt_data); // we can use strcpy since the buffer has the right size
#eindif #endif
// ******************* JSON TEST ******************* // ******************* JSON TEST *******************
// char sensordata[512]; // char sensordata[512];