diff options
author | Keith Packard <keithp@keithp.com> | 2012-06-25 06:38:34 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-06-25 06:38:34 -0700 |
commit | 628076aa90e7bc9a894646e417dd8e1fe149b60d (patch) | |
tree | 55a87becd6678dfaf9b77579f0eb3ef2a4b3e329 /src/core/ao_fec.h | |
parent | 70cf32e89df19bde5185339fc703532c8a5b8be6 (diff) |
altos: decode cc1120 received packets
Call the fec decode function, compute RSSI and check CRC
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_fec.h')
-rw-r--r-- | src/core/ao_fec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_fec.h b/src/core/ao_fec.h index f3f55fa8..e3c55d6e 100644 --- a/src/core/ao_fec.h +++ b/src/core/ao_fec.h @@ -67,7 +67,7 @@ ao_fec_encode(uint8_t *in, uint8_t len, uint8_t *out); */ uint8_t -ao_fec_decode(uint8_t *in, uint16_t in_len, uint8_t *out); +ao_fec_decode(uint8_t *in, uint16_t in_len, uint8_t *out, uint8_t out_len); /* * Interleave data packed in bytes. 'out' must be 'len' bytes long. |