From 91ca88356ecd234a9eb6e7e5b3170103913f36f9 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 30 May 2023 06:10:39 -0600 Subject: fixed bug: regulated down on some lights when not hot (thermal calibration needs a signed integer, not unsigned) --- spaghetti-monster/anduril/load-save-config-fsm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spaghetti-monster') diff --git a/spaghetti-monster/anduril/load-save-config-fsm.h b/spaghetti-monster/anduril/load-save-config-fsm.h index 862cf26..64ff6fd 100644 --- a/spaghetti-monster/anduril/load-save-config-fsm.h +++ b/spaghetti-monster/anduril/load-save-config-fsm.h @@ -87,7 +87,7 @@ typedef struct Config { #endif #ifdef USE_THERMAL_REGULATION uint8_t therm_ceil; - uint8_t therm_cal_offset; + int8_t therm_cal_offset; #endif ///// aux LEDs -- cgit v1.2.3