playing around, output_ip load/save was broken. fixed.
This commit is contained in:
parent
d68d0fbf79
commit
bf1e25d04c
1 changed files with 2 additions and 1 deletions
|
@ -291,8 +291,9 @@ bool SaveConfig(bool writeToSerial = false) {
|
||||||
objSystem["output_gpio_invert"][i] = config.system.output_gpio_invert[i];
|
objSystem["output_gpio_invert"][i] = config.system.output_gpio_invert[i];
|
||||||
objSystem["output_gpio_pwm"][i] = config.system.output_gpio_pwm[i];
|
objSystem["output_gpio_pwm"][i] = config.system.output_gpio_pwm[i];
|
||||||
objSystem["output_i2c"][i] = config.system.output_i2c[i];
|
objSystem["output_i2c"][i] = config.system.output_i2c[i];
|
||||||
|
|
||||||
for(byte j=0; j < 4 ; j++) {
|
for(byte j=0; j < 4 ; j++) {
|
||||||
objSystem["output_ip"][j] = config.system.output_ip[j];
|
objSystem["output_ip"][i][j] = config.system.output_ip[i][j];
|
||||||
}
|
}
|
||||||
objSystem["output_ip_path"][i] = config.system.output_ip_path[i];
|
objSystem["output_ip_path"][i] = config.system.output_ip_path[i];
|
||||||
objSystem["output_enabled"][i] = config.system.output_enabled[i];
|
objSystem["output_enabled"][i] = config.system.output_enabled[i];
|
||||||
|
|
Loading…
Reference in a new issue