Merge pull request #89 from pclov3r/master

Update oregon_scientific.c with missing bracket
This commit is contained in:
Benjamin Larsson
2015-01-23 00:22:27 +01:00

View File

@@ -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;