thermferm/devices.c

changeset 354
5ff387f4d6b7
parent 351
d8c410c320db
child 362
c92651a54969
equal deleted inserted replaced
353:7993cb2d4b92 354:5ff387f4d6b7
255 255
256 int device_out(char *uuid, int value) 256 int device_out(char *uuid, int value)
257 { 257 {
258 devices_list *device; 258 devices_list *device;
259 time_t now, my_timestamp; 259 time_t now, my_timestamp;
260 int my_value, test_value; 260 int rc, my_value, test_value;
261 #ifdef HAVE_WIRINGPI_H 261 #ifdef HAVE_WIRINGPI_H
262 int i, rc; 262 int i;
263 char buf[40]; 263 char buf[40];
264 #endif 264 #endif
265 265
266 if (uuid == NULL) 266 if (uuid == NULL)
267 return 0; 267 return 0;

mercurial