Fixed code

This commit is contained in:
Gunnar Skjold 2024-02-29 08:53:47 +01:00
parent ab2086f909
commit 45d0fa2bfa

View File

@ -712,7 +712,7 @@ void loop() {
if(config.isMeterChanged()) {
config.getMeterConfig(meterConfig);
if(meterConfig.source = METER_SOURCE_GPIO) {
if(meterConfig.source == METER_SOURCE_GPIO) {
switch(meterConfig.parser) {
case METER_PARSER_PASSIVE:
if(pulseMc != NULL) {