playing around, output_ip load/save was broken. fixed.

This commit is contained in:
Marcus 2024-10-24 01:54:15 +02:00
parent d68d0fbf79
commit bf1e25d04c

View file

@ -291,8 +291,9 @@ bool SaveConfig(bool writeToSerial = false) {
objSystem["output_gpio_invert"][i] = config.system.output_gpio_invert[i];
objSystem["output_gpio_pwm"][i] = config.system.output_gpio_pwm[i];
objSystem["output_i2c"][i] = config.system.output_i2c[i];
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_enabled"][i] = config.system.output_enabled[i];