update
This commit is contained in:
19
main.lua
19
main.lua
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user