Change JSON voltage

This commit is contained in:
Norbert Richter 2022-03-10 08:45:29 +01:00
parent f9d1105fc6
commit da40f5d72a
No known key found for this signature in database
GPG Key ID: 6628701A626FA674
1 changed files with 1 additions and 1 deletions

View File

@ -1449,7 +1449,7 @@ void NeoPoolShow(bool json)
{ {
float f12volt = (float)NeoPoolGetData(MBF_VOLT_12)/1000; float f12volt = (float)NeoPoolGetData(MBF_VOLT_12)/1000;
float f24_36volt = (float)NeoPoolGetData(MBF_VOLT_24_36)/1000; float f24_36volt = (float)NeoPoolGetData(MBF_VOLT_24_36)/1000;
ResponseAppend_P(PSTR(",\"" D_VOLTAGE "\":{\"12\":%*_f,\"24\":%*_f}"), ResponseAppend_P(PSTR(",\"" D_JSON_POWERUSAGE "\":{\"12\":%*_f,\"24-30\":%*_f}"),
Settings->flag2.voltage_resolution, &f12volt, Settings->flag2.voltage_resolution, &f12volt,
Settings->flag2.voltage_resolution, &f24_36volt); Settings->flag2.voltage_resolution, &f24_36volt);
} }