fixed syntax error

This commit is contained in:
Steffen Vogel 2011-08-05 01:34:15 +02:00
parent d2017e94a3
commit 5edaa5b81d

View file

@ -68,7 +68,7 @@ reading_t onewire_get(void *handle) {
rd.value = strtof(buffer, NULL);
gettimeofday(&rd.tv, NULL);
}
} while (rd.value == 85) { /* skip invalid readings */
} while (rd.value == 85); /* skip invalid readings */
return rd;
}