# HG changeset patch # User Matt Johnston # Date 1349954375 -28800 # Node ID b3b85cd4f09b3868f02cd2ad7ea3968b610f4cb7 # Parent eb685e1afcbb36d37825e09e94037de39541cc4d fridge-too-hot mode diff -r eb685e1afcbb -r b3b85cd4f09b 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)) {