diff options
author | Josh Allen <axlecrusher@gmail.com> | 2017-02-11 16:27:57 -0500 |
---|---|---|
committer | Josh Allen <axlecrusher@gmail.com> | 2017-02-11 16:27:57 -0500 |
commit | aab9f4f1db0dd752a00f3ae67531f1d58b9e2980 (patch) | |
tree | 35aa71e054316871ac59dd1146f614c9a9f6727e /tools/ootx_decode/ootx_decode.c | |
parent | 5c54917eaed3e1c6777e16baec65e63dffa215ce (diff) | |
download | libsurvive-aab9f4f1db0dd752a00f3ae67531f1d58b9e2980.tar.gz libsurvive-aab9f4f1db0dd752a00f3ae67531f1d58b9e2980.tar.bz2 |
correctly decodes lighthouse 1 ootx frames
Diffstat (limited to 'tools/ootx_decode/ootx_decode.c')
-rw-r--r-- | tools/ootx_decode/ootx_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ootx_decode/ootx_decode.c b/tools/ootx_decode/ootx_decode.c index d3c1c0f..19d6574 100644 --- a/tools/ootx_decode/ootx_decode.c +++ b/tools/ootx_decode/ootx_decode.c @@ -98,7 +98,7 @@ void raw_test() { // uint16_t ss = (s>>8) | (s<<8); //this will print after any messages from ootx_pump - if (c_ctx->found_preamble>0) printf("LH:%d s:%d 0x%x fw:%d pv:%d bo:%d bit:%d\t%s", current_lighthouse, s, s, fwv, pv, c_ctx->buf_offset, bit, line); +// if (c_ctx->found_preamble>0) printf("LH:%d s:%d 0x%x fw:%d pv:%d bo:%d bit:%d\t%s", current_lighthouse, s, s, fwv, pv, c_ctx->buf_offset, bit, line); //change to newly found lighthouse current_lighthouse = lh; |