mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-14 07:49:01 +00:00
Config restore loads username into password field
This commit is contained in:
parent
700f023292
commit
71cac46470
@ -1607,7 +1607,7 @@ void configFileParse() {
|
||||
strcpy(web.username, buf+12);
|
||||
} else if(strncmp_P(buf, PSTR("webPassword "), 12) == 0) {
|
||||
if(!lWeb) { config.getWebConfig(web); lWeb = true; };
|
||||
strcpy(web.username, buf+12);
|
||||
strcpy(web.password, buf+12);
|
||||
} else if(strncmp_P(buf, PSTR("meterBaud "), 10) == 0) {
|
||||
if(!lMeter) { config.getMeterConfig(meter); lMeter = true; };
|
||||
meter.baud = String(buf+10).toInt();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user