changeset 68:ac45a96e8034

Check the right value for staleness(!)
author darius@Inchoate
date Mon, 19 Jan 2009 22:52:36 +1030
parents 52aa7716148c
children 3dcf933f2640
files tempctrl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tempctrl.c	Mon Jan 19 22:51:53 2009 +1030
+++ b/tempctrl.c	Mon Jan 19 22:52:36 2009 +1030
@@ -243,7 +243,7 @@
     /* We only care about this one, only update the value we decide on
      * only if it is valid
      */
-    if (fermenter_temp > OW_TEMP_BADVAL) {
+    if (tempt > OW_TEMP_BADVAL) {
 	fermenter_temp = tempt;
 	lastdata = t;
     }