projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/cc1111: Hack on USB driver to make Windows happy
[fw/altos]
/
src
/
core
/
ao_fec_rx.c
diff --git
a/src/core/ao_fec_rx.c
b/src/core/ao_fec_rx.c
index 64426d72c3f4f5a3eb6041de019e4bf7f1252836..c4f5559a11f8ea79b07d069e99ee60a2208fe58f 100644
(file)
--- a/
src/core/ao_fec_rx.c
+++ b/
src/core/ao_fec_rx.c
@@
-18,7
+18,7
@@
#include <ao_fec.h>
#include <stdio.h>
#include <ao_fec.h>
#include <stdio.h>
-#ifdef
MEGAMETRUM
+#ifdef
TELEMEGA
#include <ao.h>
#endif
#include <ao.h>
#endif
@@
-96,7
+96,7
@@
ao_next_state(uint8_t state, uint8_t bit)
*/
uint8_t
*/
uint8_t
-ao_fec_decode(const uint8_t *in, uint16_t len, uint8_t *out, uint8_t out_len, uint16_t (*callback)())
+ao_fec_decode(const uint8_t *in, uint16_t len, uint8_t *out, uint8_t out_len, uint16_t (*callback)(
void
))
{
static uint32_t cost[2][NUM_STATE]; /* path cost */
static bits_t bits[2][NUM_STATE]; /* save bits to quickly output them */
{
static uint32_t cost[2][NUM_STATE]; /* path cost */
static bits_t bits[2][NUM_STATE]; /* save bits to quickly output them */