From b4782ab40daba3eb910173d076586cc638fc5bbe Mon Sep 17 00:00:00 2001 From: pclov3r Date: Wed, 21 Jan 2015 14:55:20 -0800 Subject: [PATCH] Update oregon_scientific.c --- src/devices/oregon_scientific.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/oregon_scientific.c b/src/devices/oregon_scientific.c index b808aba3..717ad6d4 100644 --- a/src/devices/oregon_scientific.c +++ b/src/devices/oregon_scientific.c @@ -248,7 +248,7 @@ static int oregon_scientific_v3_parser(uint8_t bb[BITBUF_ROWS][BITBUF_COLS], int fprintf(stderr,"Weather Sensor THGR810 Channel %d Temp: %3.1f°C %3.1f°F Humidity: %d%%\n", channel, temp_c, ((temp_c*9)/5)+32, humidity); } return 1; - else if ((msg[0] == 0x19) && (msg[1] == 0x84)) { + } else if ((msg[0] == 0x19) && (msg[1] == 0x84)) { if (validate_os_checksum(msg, 17) == 0) { float gustWindspeed = (msg[11]+msg[10])/100; float quadrant = msg[8]*22.5;