mirror of https://github.com/arendst/Tasmota.git
Fixed issue during the call to ResponseAppend_P (was passing
a primitive instead of pointer to the expected string)
This commit is contained in:
parent
2a06a6bc5a
commit
e9d201a2c3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue