diff main.c @ 138:08adc1fa02e8

merge
author Matt Johnston <matt@ucc.asn.au>
date Mon, 22 Oct 2012 21:09:17 +0800
parents 10d35b4370ef 2b112f9ab440
children 9091411be841
line wrap: on
line diff
--- a/main.c	Mon Oct 15 21:51:19 2012 +0800
+++ b/main.c	Mon Oct 22 21:09:17 2012 +0800
@@ -84,7 +84,7 @@
 static uint8_t wake_secs = 30;
 // decidegrees
 static int16_t fridge_setpoint = 180; // 18.0ºC
-static int16_t fridge_difference = 3; // 0.3ºC
+static uint16_t fridge_difference = 3; // 0.3ºC
 static uint16_t fridge_delay = 600; // seconds
 
 static uint16_t overshoot_delay = 720; // 12 mins
@@ -163,7 +163,7 @@
     uint8_t wake_secs;
 
     int16_t fridge_setpoint; // decidegrees
-    uint8_t fridge_difference; // decidegrees
+    uint16_t fridge_difference; // decidegrees
     uint16_t fridge_delay;
 
     uint16_t overshoot_delay;