diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-07-26 04:28:59 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-07-26 04:28:59 +0200 |
commit | 4fd9c6b9288ef71fabfba496997db2113be641d1 (patch) | |
tree | b65ddbce64e3bb2592fb2e089af03ce571eb4f7b | |
parent | 37dea9780ea5cd3b3b501ab4e71886fb9536726f (diff) | |
download | libufodecode-4fd9c6b9288ef71fabfba496997db2113be641d1.tar.gz libufodecode-4fd9c6b9288ef71fabfba496997db2113be641d1.tar.bz2 libufodecode-4fd9c6b9288ef71fabfba496997db2113be641d1.tar.xz libufodecode-4fd9c6b9288ef71fabfba496997db2113be641d1.zip |
Fix check for correctness of output mode
-rw-r--r-- | src/ufodecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ufodecode.c b/src/ufodecode.c index cc25a8c..6f3f299 100644 --- a/src/ufodecode.c +++ b/src/ufodecode.c @@ -607,7 +607,7 @@ size_t ufo_decoder_decode_frame(UfoDecoder *decoder, meta->adc_resolution = (raw[pos] >> 26) & 0x3; pos++; - if ((meta->output_mode != IPECAMERA_MODE_4_CHAN_IO)&&(meta->output_mode != IPECAMERA_MODE_4_CHAN_IO)) { + if ((meta->output_mode != IPECAMERA_MODE_4_CHAN_IO)&&(meta->output_mode != IPECAMERA_MODE_16_CHAN_IO)) { #ifdef DEBUG fprintf(stderr, "Output mode 0x%lx is not supported\n", meta->output_mode); #endif |