Skip to content

Commit

Permalink
Merge pull request #16 from ovrheat/patch-3
Browse files Browse the repository at this point in the history
Migliorato il driver per chiavetta USB rtl-sdr
  • Loading branch information
ToninoTarsi committed Apr 22, 2016
2 parents 66e5cee + 5d44c2b commit 9da8321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtl_433/src/devices/fineoffset_wh1080.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ static int fineoffset_wh1080_callback(bitbuffer_t *bitbuffer) {
return 0;
}

if (br[0] == 0xff && br[1] == 0xa0) {
if (br[0] == 0xff && (br[1] >> 4) == 0x0a) {
msg_type = 0;
} else if (br[0] == 0xff && br[1] == 0xb0) {
} else if (br[0] == 0xff && (br[1] >> 4) == 0x0b) {
msg_type = 1;
}

Expand Down

0 comments on commit 9da8321

Please sign in to comment.