From 0cb964a1777700dd73f61f29ec19c508fafde36e Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Fri, 10 May 2024 19:18:21 -0400 Subject: [PATCH] diagnostic disables --- coordinator/configure.lua | 2 ++ rtu/configure.lua | 2 ++ 2 files changed, 4 insertions(+) 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