diff options
author | Joshua Allen <axlecrusher@gmail.com> | 2017-02-10 21:09:14 -0500 |
---|---|---|
committer | Joshua Allen <axlecrusher@gmail.com> | 2017-02-10 21:09:14 -0500 |
commit | acf367aab41e13b047df6670ffbb27cea8afe2d9 (patch) | |
tree | 61b2d734f68db3e2f148887d5590d71d748ddb44 /tools/ootx_decode/ootx_decoder.h | |
parent | 9317538667e6f54661949fee1c1f300ba89d185c (diff) | |
download | libsurvive-acf367aab41e13b047df6670ffbb27cea8afe2d9.tar.gz libsurvive-acf367aab41e13b047df6670ffbb27cea8afe2d9.tar.bz2 |
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.
Diffstat (limited to 'tools/ootx_decode/ootx_decoder.h')
-rw-r--r-- | tools/ootx_decode/ootx_decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |