# HG changeset patch # User Matt Johnston # Date 1349880504 -28800 # Node ID 30c2c3341a4a38990962c8339dbda3f9d90de86f # Parent 45c051a7db829159622b144e1f5d8acc6223eb92 fridge range is decicelcius diff -r 45c051a7db82 -r 30c2c3341a4a main.c --- a/main.c Wed Oct 10 21:04:13 2012 +0800 +++ b/main.c Wed Oct 10 22:48:24 2012 +0800 @@ -35,8 +35,9 @@ #define VALUE_NOSENSOR 0x07D0 // 125 degrees #define VALUE_BROKEN 0x07D1 // 125.0625 -#define FRIDGE_AIR_MIN_RANGE 3 -#define FRIDGE_AIR_MAX_RANGE 3 +// ranges are in decicelcius +#define FRIDGE_AIR_MIN_RANGE 30 +#define FRIDGE_AIR_MAX_RANGE 30 #define OVERSHOOT_SCALE 1 #define BAUD 19200