properly clear peripherals and redstone when importing

This commit is contained in:
Mikayla Fischler 2023-11-14 22:00:01 -05:00
parent 8fe0321ac0
commit 1fdf012f65
2 changed files with 3 additions and 1 deletions

View File

@ -1135,6 +1135,8 @@ local function config_view(display)
tmp_cfg.LogMode = config.LOG_MODE
tmp_cfg.LogPath = config.LOG_PATH
tmp_cfg.LogDebug = config.LOG_DEBUG or false
tmp_cfg.Peripherals = {}
tmp_cfg.Redstone = {}
local mounts = ppm.list_mounts()

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.1"
local RTU_VERSION = "v1.7.2"
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE
local RTU_UNIT_HW_STATE = databus.RTU_UNIT_HW_STATE