# HG changeset patch # User Matt Johnston # Date 1349954375 -28800 # Node ID b32ddec655c562d1e6358954787cb35f87a6200a # Parent 6a9419ac8f77c44bec38d31108db08b323003b24 fridge-too-hot mode diff -r 6a9419ac8f77 -r b32ddec655c5 main.c --- a/main.c Thu Oct 11 19:19:24 2012 +0800 +++ b/main.c Thu Oct 11 19:19:35 2012 +0800 @@ -896,6 +896,13 @@ turn_on = true; } + if ((fridge_valid && last_fridge > fridge_max)) + { + printf_P("fridge is max too hot\n"); + turn_on = true; + } + + if ((last_wort > wort_min || !wort_valid) && (fridge_valid && last_fridge > fridge_setpoint)) {