From 4fd9c6b9288ef71fabfba496997db2113be641d1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 26 Jul 2012 04:28:59 +0200 Subject: Fix check for correctness of output mode --- src/ufodecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3