From acf367aab41e13b047df6670ffbb27cea8afe2d9 Mon Sep 17 00:00:00 2001 From: Joshua Allen Date: Fri, 10 Feb 2017 21:09:14 -0500 Subject: add code to try to deal with lighthouse data. need to decode which lighthouse is sending the sync pulse. I could not get the disambiguator to work. --- tools/ootx_decode/ootx_decoder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/ootx_decode/ootx_decoder.h') diff --git a/tools/ootx_decode/ootx_decoder.h b/tools/ootx_decode/ootx_decoder.h index 2c0ee63..696fecb 100644 --- a/tools/ootx_decode/ootx_decoder.h +++ b/tools/ootx_decode/ootx_decoder.h @@ -29,6 +29,8 @@ typedef struct { //void ootx_init_buffer(); void ootx_process_bit(ootx_decoder_context *ctx, uint32_t length); void ootx_init_decoder_context(ootx_decoder_context *ctx); +int8_t ootx_decode_lighthouse_number(uint8_t last_num, uint32_t ticks, int32_t delta); + extern void (*ootx_packet_clbk)(ootx_packet* packet); -- cgit v1.2.3