/alps/ufodecode

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/ufodecode

« back to all changes in this revision

Viewing changes to src/ufodecode.c

  • Committer: Suren A. Chilingaryan
  • Date: 2012-07-26 02:28:59 UTC
  • Revision ID: csa@dside.dyndns.org-20120726022859-bins4t3p10j1z8re
Fix check for correctness of output mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
607
607
        meta->adc_resolution = (raw[pos] >> 26) & 0x3;
608
608
        pos++;
609
609
 
610
 
        if ((meta->output_mode != IPECAMERA_MODE_4_CHAN_IO)&&(meta->output_mode != IPECAMERA_MODE_4_CHAN_IO)) {
 
610
        if ((meta->output_mode != IPECAMERA_MODE_4_CHAN_IO)&&(meta->output_mode != IPECAMERA_MODE_16_CHAN_IO)) {
611
611
#ifdef DEBUG
612
612
            fprintf(stderr, "Output mode 0x%lx is not supported\n", meta->output_mode);
613
613
#endif