comparison tempctrl.c @ 83:05ba84c7da97

Add a flash layer for compatibility (in future). Fix SPI flash block writing. White space fixes.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 02 Mar 2015 14:32:08 +1030
parents aaf0603d7f88
children 345a42f6151b
comparison
equal deleted inserted replaced
82:c0ff52b8e80c 83:05ba84c7da97
361 361
362 /* Set the relays to match the desired state */ 362 /* Set the relays to match the desired state */
363 static void 363 static void
364 setstate(char state) { 364 setstate(char state) {
365 uint8_t cool, heat; 365 uint8_t cool, heat;
366 366
367 switch (state) { 367 switch (state) {
368 case 'c': 368 case 'c':
369 cool = 1; 369 cool = 1;
370 heat = 0; 370 heat = 0;
371 break; 371 break;