ac-telemetry-plugin/main.lua

13 lines
363 B
Lua

-- main.lua - Entry point for ACTelemetry CSP Lua app
-- CSP calls script.update(dt) every frame; we delegate to the telemetry module.
-- CSP calls script.windowMain(dt) to draw the app window.
local telemetry = require("src.telemetry")
function script.update(dt)
telemetry.update(dt)
end
function script.windowMain(dt)
ui.text("AC Telemetry ●")
end