# HG changeset patch # User Matt Johnston # Date 1350911291 -28800 # Node ID c95737913174ad4d8c704617149b4c8920ff82d3 # Parent 411ff85e16e37f2de2391576b06750ea539f301d fix wrong eeprom tpes diff -r 411ff85e16e3 -r c95737913174 main.c --- a/main.c Sun Oct 14 21:52:09 2012 +0800 +++ b/main.c Mon Oct 22 21:08:11 2012 +0800 @@ -86,7 +86,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 // ---- Atomic guards required accessing these variables @@ -162,7 +162,7 @@ uint8_t wake_secs; int16_t fridge_setpoint; // decidegrees - uint8_t fridge_difference; // decidegrees + uint16_t fridge_difference; // decidegrees uint16_t fridge_delay; #if 0