summaryrefslogtreecommitdiffstats
path: root/src/ufodecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ufodecode.c')
-rw-r--r--src/ufodecode.c4
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;
}