From 9e709dfe6069ecc037f5e95c56f3222a4c902ef0 Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sat, 14 Jun 2025 13:51:06 -0400 Subject: [PATCH] updated --- main.lua | 5 +++-- temperature_driver.lua | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main.lua b/main.lua index 4b871de..f9aa13d 100644 --- a/main.lua +++ b/main.lua @@ -1,8 +1,9 @@ local kernel = require("kernel") -local tempDriver = kernel.addDriver("temperature_driver") -local coolantDriver = kernel.addDriver("coolant_driver") local reactor = peripheral.find("fissionReactorLogicAdapter") local monitor = peripheral.find("monitor") +local tempDriver = kernel.addDriver("temperature_driver") +local coolantDriver = kernel.addDriver("coolant_driver") + local function runMonitors() while true do tempDriver.watch(reactor, monitor) diff --git a/temperature_driver.lua b/temperature_driver.lua index 226d387..b752e16 100644 --- a/temperature_driver.lua +++ b/temperature_driver.lua @@ -27,4 +27,4 @@ local function configureReport(monitor) monitor.clearLine() end -return { report = report, watch = watch} \ No newline at end of file +return { report = report, watch = watch } \ No newline at end of file