rebase / fixes

This commit is contained in:
Marcus 2022-01-15 14:20:31 +01:00
parent 4e913e6a7f
commit 31d60b5525
1 changed files with 2 additions and 2 deletions

View File

@ -1108,7 +1108,7 @@ void EnergyShow(bool json) {
EnergyFormatSum(value2_chr, Energy.daily, Settings->flag2.energy_resolution, json));
/*
#if defined(SDM630_IMPORT) || defined(SDM72_IMPEXP)
#if defined(SDM630_IMPORT) || defined(SDM72_IMPEXP)
if (!isnan(Energy.import_active[0])) {
ResponseAppend_P(PSTR(",\"" D_JSON_IMPORT_ACTIVE "\":%s"),
EnergyFormat(value_chr, Energy.import_active, Settings->flag2.energy_resolution, json));
@ -1117,7 +1117,7 @@ void EnergyShow(bool json) {
EnergyFormatIndex(value_chr, energy_return, Settings->flag2.energy_resolution, json, 2));
}
}
#endif // SDM630_IMPORT || SDM72_IMPEXP
#endif // SDM630_IMPORT || SDM72_IMPEXP
*/
if (!isnan(Energy.export_active[0])) {