1 Index: wview-5.19.0-jgoerzen/stations/WMRUSB/wmrusbprotocol.c
2 ===================================================================
3 --- wview-5.19.0-jgoerzen.orig/stations/WMRUSB/wmrusbprotocol.c 2012-12-15 15:32:03.000000000 +0000
4 +++ wview-5.19.0-jgoerzen/stations/WMRUSB/wmrusbprotocol.c 2012-12-15 15:36:47.199715376 +0000
9 - int t = (b << 8) | a;
13 + int t = ((b & 0x0f) << 8) | a;
25 + dew = ARCHIVE_VALUE_NULL;
27 wmrWork.sensorData.humidity[sensor] = humid;
28 wmrWork.sensorData.temp[sensor] = temp;
29 wmrWork.sensorData.dewpoint[sensor] = dew;