diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-07-26 10:00:32 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-07-26 10:00:32 +0200 |
commit | fa4f1fdbee50522330387bead1b4fd875aef1d91 (patch) | |
tree | efa8ee5728226d37cc19ae4e4ba647bc453b5df6 | |
parent | edeecdece952114d85caebc63075fff2bbd57a0d (diff) | |
download | libufodecode-fa4f1fdbee50522330387bead1b4fd875aef1d91.tar.gz libufodecode-fa4f1fdbee50522330387bead1b4fd875aef1d91.tar.bz2 libufodecode-fa4f1fdbee50522330387bead1b4fd875aef1d91.tar.xz libufodecode-fa4f1fdbee50522330387bead1b4fd875aef1d91.zip |
Output version number if wrong
-rw-r--r-- | src/ufodecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ufodecode.c b/src/ufodecode.c index 072e409..58d2a68 100644 --- a/src/ufodecode.c +++ b/src/ufodecode.c @@ -579,7 +579,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_16_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 @@ -588,7 +588,7 @@ size_t ufo_decoder_decode_frame(UfoDecoder *decoder, break; default: - fprintf(stderr, "Unsupported data format detected\n"); + fprintf(stderr, "Unsupported data format version %i detected\n", version); return 0; } |