修复:重启后保留 TSOIP 参数

This commit is contained in:
2026-08-28 13:26:23 +08:00
parent fad8784550
commit 47b782e976
2 changed files with 6 additions and 6 deletions
+3 -5
View File
@@ -1717,11 +1717,9 @@ void config_fpga_para(void)
fpga_save_all_para(TRUE);
/* TSOIP ---20220214 s ---*/
// PR03: force TSoIP unicast defaults (192.168.2.200/single) onto BOTH cores every boot
extern void e2rom_load_default_param_t_tsoip(int tsoip_index, uint32 type);
e2rom_load_default_param_t_tsoip(TSOIP_1, 0);
e2rom_load_default_param_t_tsoip(TSOIP_2, 0);
/* TSOIP settings have already been restored by e2rom_read_all_para().
* Do not load defaults here: that routine also writes the defaults back to
* EEPROM and would erase the values set from the web page on every reboot. */
tsoip_byte_write(TSOIP_1, I2C_REG_ADDRES, 0x11);
delay_ms(200);//delay_ms(6000);