186:7c44b11a10b0 | 187:3c8bf18fdf42 |
---|---|
34 | 34 |
35 | 35 |
36 int device_out(char *uuid, int value) | 36 int device_out(char *uuid, int value) |
37 { | 37 { |
38 devices_list *device; | 38 devices_list *device; |
39 time_t now; | |
40 #ifdef HAVE_WIRINGPI_H | |
41 int i, rc; | |
39 char buf[40]; | 42 char buf[40]; |
40 int i, rc; | 43 #endif |
41 time_t now; | |
42 | 44 |
43 if (uuid == NULL) | 45 if (uuid == NULL) |
44 return 0; | 46 return 0; |
45 | 47 |
46 now = time(NULL); | 48 now = time(NULL); |