luacheck fixes and version increment

This commit is contained in:
Mikayla Fischler 2025-04-19 00:21:15 -04:00
parent 592f1110ed
commit ae055a7d99
3 changed files with 4 additions and 4 deletions

View File

@ -2,10 +2,10 @@
-- SCADA System Access on a Pocket Computer
--
---@diagnostic disable-next-line: undefined-global, lowercase-global
---@diagnostic disable-next-line: lowercase-global
pocket = pocket or periphemu -- luacheck: ignore pocket
local _is_pocket_env = pocket
local _is_pocket_env = pocket -- luacheck: ignore pocket
require("/initenv").init_env()

View File

@ -124,7 +124,7 @@ end
-- final error print on failed xpcall, app exits here
function crash.exit()
local handled, run = false, true
local display = nil ---@type DisplayBox
local display ---@type DisplayBox
-- special graphical crash screen
if has_graphics then

View File

@ -24,7 +24,7 @@ local t_pack = table.pack
local util = {}
-- scada-common version
util.version = "1.4.12"
util.version = "1.5.0"
util.TICK_TIME_S = 0.05
util.TICK_TIME_MS = 50