This commit is contained in:
2025-06-14 13:51:06 -04:00
parent f42dc84eda
commit 9e709dfe60
2 changed files with 4 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
local kernel = require("kernel") local kernel = require("kernel")
local tempDriver = kernel.addDriver("temperature_driver")
local coolantDriver = kernel.addDriver("coolant_driver")
local reactor = peripheral.find("fissionReactorLogicAdapter") local reactor = peripheral.find("fissionReactorLogicAdapter")
local monitor = peripheral.find("monitor") local monitor = peripheral.find("monitor")
local tempDriver = kernel.addDriver("temperature_driver")
local coolantDriver = kernel.addDriver("coolant_driver")
local function runMonitors() local function runMonitors()
while true do while true do
tempDriver.watch(reactor, monitor) tempDriver.watch(reactor, monitor)

View File

@@ -27,4 +27,4 @@ local function configureReport(monitor)
monitor.clearLine() monitor.clearLine()
end end
return { report = report, watch = watch} return { report = report, watch = watch }