Some more changes for L&G

This commit is contained in:
Gunnar Skjold
2023-01-15 11:20:28 +01:00
parent dbb3eac709
commit 3bc6c75c5a
2 changed files with 7 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ LNG::LNG(const char* payload, uint8_t useMeterType, MeterConfig* meterConfig, Da
activeImportPower = sum;
} else {
activeExportPower = sum * -1;
listType = listType >= 2 ? listType : 2;
}
}