Merge pull request #14 from kopppa91/master
Fixed: now skipping correct number of values in magnitude buffer
This commit is contained in:
commit
dfb319146e
2
mode_s.c
2
mode_s.c
|
@ -1774,7 +1774,7 @@ void detectModeS(uint16_t *m, uint32_t mlen) {
|
||||||
|
|
||||||
// Skip this message if we are sure it's fine
|
// Skip this message if we are sure it's fine
|
||||||
if (mm.crcok) {
|
if (mm.crcok) {
|
||||||
j += (MODES_PREAMBLE_US+msglen)*2;
|
j += (MODES_PREAMBLE_US+msglen)*2 - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pass data to the next layer
|
// Pass data to the next layer
|
||||||
|
|
Loading…
Reference in a new issue