mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-16 11:39:12 +00:00
Fixed price from config file reboot loop (#1172)
This commit is contained in:
@@ -2111,6 +2111,7 @@ void configFileParse() {
|
||||
if(!lPrice) { config.getPriceServiceConfig(price); lPrice = true; };
|
||||
strcpy(price.currency, buf+14);
|
||||
} else if(strncmp_P(buf, PSTR("priceModifier "), 14) == 0) {
|
||||
if(ps == NULL) ps = new PriceService(&Debug);
|
||||
PriceConfig pc;
|
||||
memset(&pc, 0, sizeof(PriceConfig));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user