mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
Fix compile error
This commit is contained in:
parent
54733cd3f0
commit
0bba4dc7d6
@ -272,7 +272,7 @@ void RfSnsTheoV2Show(bool json)
|
|||||||
sensor, GetDT(rfsns_theo_v2_t1[i].time).c_str(), voltage);
|
sensor, GetDT(rfsns_theo_v2_t1[i].time).c_str(), voltage);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
float temp = ConvertTemp((float)rfsns_theo_v2_t1[i].temp / 100)
|
float temp = ConvertTemp((float)rfsns_theo_v2_t1[i].temp / 100);
|
||||||
|
|
||||||
if (json) {
|
if (json) {
|
||||||
ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_TEMPERATURE "\":%*_f,\"" D_JSON_ILLUMINANCE "\":%d,\"" D_JSON_VOLTAGE "\":%s}"),
|
ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_TEMPERATURE "\":%*_f,\"" D_JSON_ILLUMINANCE "\":%d,\"" D_JSON_VOLTAGE "\":%s}"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user