From 91a0962209f18f945e36fe4450ea44e4e5d2aba5 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 5 Aug 2011 01:34:15 +0200 Subject: [PATCH] fixed syntax error --- src/protocols/1wire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/1wire.c b/src/protocols/1wire.c index 175772b..b902f38 100644 --- a/src/protocols/1wire.c +++ b/src/protocols/1wire.c @@ -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; }