Fixed issue during the call to ResponseAppend_P (was passing

a primitive instead of pointer to the expected string)
This commit is contained in:
Luis Teixeira 2020-03-10 00:26:24 +00:00
parent 2a06a6bc5a
commit e9d201a2c3
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ void HdcShow(bool json) {
dtostrfd(hdc_humidity, Settings.flag2.humidity_resolution, humidity);
if (json) {
ResponseAppend_P(JSON_SNS_TEMPHUM, hdc_device_id, temperature, humidity);
ResponseAppend_P(JSON_SNS_TEMPHUM, hdc_type_name, temperature, humidity);
#ifdef USE_DOMOTICZ
if (0 == tele_period) {
DomoticzTempHumSensor(temperature, humidity);