comparison main.c @ 136:2b112f9ab440

fix wrong eeprom tpes
author Matt Johnston <matt@ucc.asn.au>
date Mon, 22 Oct 2012 21:08:11 +0800
parents 405785632c78
children 08adc1fa02e8
comparison
equal deleted inserted replaced
134:405785632c78 136:2b112f9ab440
84 static uint16_t measure_wake = 61; // not a divisor of comms_wake 84 static uint16_t measure_wake = 61; // not a divisor of comms_wake
85 static uint16_t comms_wake = 600; 85 static uint16_t comms_wake = 600;
86 static uint8_t wake_secs = 30; 86 static uint8_t wake_secs = 30;
87 // decidegrees 87 // decidegrees
88 static int16_t fridge_setpoint = 180; // 18.0ºC 88 static int16_t fridge_setpoint = 180; // 18.0ºC
89 static int16_t fridge_difference = 3; // 0.3ºC 89 static uint16_t fridge_difference = 3; // 0.3ºC
90 static uint16_t fridge_delay = 600; // seconds 90 static uint16_t fridge_delay = 600; // seconds
91 91
92 // ---- Atomic guards required accessing these variables 92 // ---- Atomic guards required accessing these variables
93 // clock_epoch in seconds 93 // clock_epoch in seconds
94 static uint32_t clock_epoch; 94 static uint32_t clock_epoch;
160 uint16_t measure_wake; 160 uint16_t measure_wake;
161 uint16_t comms_wake; 161 uint16_t comms_wake;
162 uint8_t wake_secs; 162 uint8_t wake_secs;
163 163
164 int16_t fridge_setpoint; // decidegrees 164 int16_t fridge_setpoint; // decidegrees
165 uint8_t fridge_difference; // decidegrees 165 uint16_t fridge_difference; // decidegrees
166 uint16_t fridge_delay; 166 uint16_t fridge_delay;
167 167
168 #if 0 168 #if 0
169 static uint8_t wort_id[ID_LEN]; 169 static uint8_t wort_id[ID_LEN];
170 static uint8_t fridge_id[ID_LEN]; 170 static uint8_t fridge_id[ID_LEN];