#388 fixed peripherals list not updating on add/delete of config entry

This commit is contained in:
Mikayla Fischler 2023-12-17 17:22:29 -05:00
parent f23b7e2c2f
commit 37659d687e
2 changed files with 3 additions and 1 deletions

View File

@ -928,6 +928,7 @@ local function config_view(display)
peri_pane.set_value(1)
tool_ctl.gen_peri_summary(tmp_cfg)
tool_ctl.update_peri_list()
tool_ctl.p_idx.set_value(1)
end
@ -1345,6 +1346,7 @@ local function config_view(display)
local function delete_peri_entry(idx)
table.remove(tmp_cfg.Peripherals, idx)
tool_ctl.gen_peri_summary(tmp_cfg)
tool_ctl.update_peri_list()
end
-- generate the peripherals summary list

View File

@ -31,7 +31,7 @@ local sna_rtu = require("rtu.dev.sna_rtu")
local sps_rtu = require("rtu.dev.sps_rtu")
local turbinev_rtu = require("rtu.dev.turbinev_rtu")
local RTU_VERSION = "v1.7.6"
local RTU_VERSION = "v1.7.7"
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE
local RTU_UNIT_HW_STATE = databus.RTU_UNIT_HW_STATE