luacheck fixes and version increment
This commit is contained in:
parent
592f1110ed
commit
ae055a7d99
@ -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()
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user