From ea1365c71924411f2a31ba2fb8f257ad9977556d Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sat, 14 Jun 2025 18:21:55 -0400 Subject: [PATCH] updated --- burnrate_driver.lua | 2 +- temperature_driver.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/burnrate_driver.lua b/burnrate_driver.lua index 82f586e..6f375d8 100644 --- a/burnrate_driver.lua +++ b/burnrate_driver.lua @@ -1,6 +1,6 @@ local max = 15 local init = 3 -local rateStep = 0.10 +local rateStep = 0.01 local min = 1 local function getValue() diff --git a/temperature_driver.lua b/temperature_driver.lua index e6a1c0e..a271559 100644 --- a/temperature_driver.lua +++ b/temperature_driver.lua @@ -10,8 +10,8 @@ end local function checkTemperature() local temperature = getValue() - local upperThreshold = max - 20 - local lowerThreshold = min + 20 + local upperThreshold = max - 5 + local lowerThreshold = min + 5 if temperature >= upperThreshold then print("Warning: Temperature approaching upper limit! Taking action.")