From 9ddcee7397d77919ba66b92baa846b32a538e91a Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 17 Jul 2012 18:19:37 +0200 Subject: Fix bit order --- src/ufodecode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ufodecode.c') diff --git a/src/ufodecode.c b/src/ufodecode.c index dd32695..5597f7a 100644 --- a/src/ufodecode.c +++ b/src/ufodecode.c @@ -638,6 +638,7 @@ size_t ufo_decoder_decode_frame(UfoDecoder *decoder, CHECK_VALUE(raw[pos++], 0x0AAAAAAA); meta->status1.bits = raw[pos++]; + printf("%x\n", raw[pos]); meta->status2.bits = raw[pos++]; meta->status3.bits = raw[pos++]; pos++; -- cgit v1.2.3