MCPcopy Create free account
hub / github.com/antirez/dump1090 / fixBitErrors

Function fixBitErrors

dump1090.c:854–894  ·  view source on GitHub ↗

Given a received message, compute its syndrome and look it up in the * precomputed table. If we find a match, we know the exact bit positions * that were corrupted during transmission, and we can flip them back. * * The 'maxfix' parameter limits how many bits we're willing to correct: * fixing 1 bit is quite safe, but 2-bit correction has a higher chance * of "fixing" a random message into a

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

dumpRawMessageFunction · 0.85
decodeModesMessageFunction · 0.85

Calls 1

modesChecksumFunction · 0.85

Tested by

no test coverage detected