# HG changeset patch # User Matt Johnston # Date 1350911291 -28800 # Node ID 2b112f9ab440c13cd0f1754ee3a7a185557e44b2 # Parent 405785632c781cb075e08d22a798b8f517526373 fix wrong eeprom tpes diff -r 405785632c78 -r 2b112f9ab440 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