thermometers/thermometers.c

changeset 149
f019ea6a9d31
parent 145
1396350141cf
equal deleted inserted replaced
148:2963396de9b5 149:f019ea6a9d31
206 206
207 207
208 208
209 int server(void) 209 int server(void)
210 { 210 {
211 char buf[1024];
212 int temp, rc = 0; 211 int temp, rc = 0;
213 #ifdef HAVE_WIRINGPI_H 212 #ifdef HAVE_WIRINGPI_H
213 char buf[1024];
214 int lcdupdate; 214 int lcdupdate;
215 #endif 215 #endif
216 w1_therm *tmp1; 216 w1_therm *tmp1;
217 char *device, line[60], *p = NULL; 217 char *device, line[60], *p = NULL;
218 FILE *fp; 218 FILE *fp;

mercurial