altos: Broke TeleMetrum GPS reporting by holding the GPS mutex too much
[fw/altos] / src / core / ao_fec_rx.c
index 64426d72c3f4f5a3eb6041de019e4bf7f1252836..c4f5559a11f8ea79b07d069e99ee60a2208fe58f 100644 (file)
@@ -18,7 +18,7 @@
 #include <ao_fec.h>
 #include <stdio.h>
 
-#ifdef MEGAMETRUM
+#ifdef TELEMEGA
 #include <ao.h>
 #endif
 
@@ -96,7 +96,7 @@ ao_next_state(uint8_t state, uint8_t bit)
  */
 
 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 */