mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-03 14:49:33 +00:00
Fixed code
This commit is contained in:
@@ -712,7 +712,7 @@ void loop() {
|
|||||||
|
|
||||||
if(config.isMeterChanged()) {
|
if(config.isMeterChanged()) {
|
||||||
config.getMeterConfig(meterConfig);
|
config.getMeterConfig(meterConfig);
|
||||||
if(meterConfig.source = METER_SOURCE_GPIO) {
|
if(meterConfig.source == METER_SOURCE_GPIO) {
|
||||||
switch(meterConfig.parser) {
|
switch(meterConfig.parser) {
|
||||||
case METER_PARSER_PASSIVE:
|
case METER_PARSER_PASSIVE:
|
||||||
if(pulseMc != NULL) {
|
if(pulseMc != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user