aboutsummaryrefslogtreecommitdiff
path: root/tools/ootx_decode/ootx_decoder.h
diff options
context:
space:
mode:
authorJosh Allen <axlecrusher@gmail.com>2017-02-12 09:58:32 -0500
committerJosh Allen <axlecrusher@gmail.com>2017-02-12 09:58:32 -0500
commitda93d5821e6da8462ff42f2c8e6e07a3cbe10740 (patch)
tree8043159e11ee669bbe1df1ecff90690b68d9d585 /tools/ootx_decode/ootx_decoder.h
parent600df0b1cb3fac30bd7a7c3df3b50f5e003032bf (diff)
downloadlibsurvive-da93d5821e6da8462ff42f2c8e6e07a3cbe10740.tar.gz
libsurvive-da93d5821e6da8462ff42f2c8e6e07a3cbe10740.tar.bz2
proper decoding of bith lighthouse ootx data
Diffstat (limited to 'tools/ootx_decode/ootx_decoder.h')
-rw-r--r--tools/ootx_decode/ootx_decoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ootx_decode/ootx_decoder.h b/tools/ootx_decode/ootx_decoder.h
index 7e6af82..2a1b1d2 100644
--- a/tools/ootx_decode/ootx_decoder.h
+++ b/tools/ootx_decode/ootx_decoder.h
@@ -63,6 +63,8 @@ int8_t ootx_decode_lighthouse_number(uint8_t last_num, uint32_t ticks, int32_t d
void ootx_accumulate_bit(ootx_decoder_context *ctx, uint8_t bit);
uint8_t ootx_pump_greatest_bit(ootx_decoder_context *ctx);
+uint8_t ootx_decode_bit(uint32_t length);
+
extern void (*ootx_packet_clbk)(ootx_packet* packet);
#endif \ No newline at end of file