diff --git a/coordinator/configure.lua b/coordinator/configure.lua index 54fb854..e763a27 100644 --- a/coordinator/configure.lua +++ b/coordinator/configure.lua @@ -1449,9 +1449,11 @@ function configurator.configure(start_code, message) elseif event == "paste" then display.handle_paste(param1) elseif event == "peripheral_detach" then +---@diagnostic disable-next-line: discard-returns ppm.handle_unmount(param1) tool_ctl.gen_mon_list() elseif event == "peripheral" then +---@diagnostic disable-next-line: discard-returns ppm.mount(param1) tool_ctl.gen_mon_list() elseif event == "monitor_resize" then diff --git a/rtu/configure.lua b/rtu/configure.lua index efebdee..9012705 100644 --- a/rtu/configure.lua +++ b/rtu/configure.lua @@ -1669,9 +1669,11 @@ function configurator.configure(ask_config) elseif event == "paste" then display.handle_paste(param1) elseif event == "peripheral_detach" then +---@diagnostic disable-next-line: discard-returns ppm.handle_unmount(param1) tool_ctl.update_peri_list() elseif event == "peripheral" then +---@diagnostic disable-next-line: discard-returns ppm.mount(param1) tool_ctl.update_peri_list() end