This commit is contained in:
2025-06-14 17:31:37 -04:00
parent e5ea5fa6ec
commit 78f224581f
2 changed files with 21 additions and 14 deletions

View File

@@ -14,11 +14,11 @@ burnRateDriver = kernel.addDriver("burnrate_driver")
local function runMonitors()
parallel.waitForAll(
tempDriver.watch(),
coolantDriver.watch(),
statusDriver.watch(),
turbineDriver.watch(),
burnRateDriver.watch()
tempDriver.watch,
coolantDriver.watch,
statusDriver.watch,
turbineDriver.watch,
burnRateDriver.watch
)
end
@@ -68,7 +68,14 @@ local function run()
sleep(1)
end
parallel.waitForAll(runMonitors, runDisplay)
parallel.waitForAll(runMonitors,
runDisplay,
tempDriver.watch,
coolantDriver.watch,
statusDriver.watch,
turbineDriver.watch,
burnRateDriver.watch
)
end
return { run = run}