Revision 69c2203a scout_avr/src/bom.cpp

View differences:

scout_avr/src/bom.cpp
186 186
      }
187 187
      if (rx->count == 16) {
188 188
        // finished!
189
        //if ((rx->bits & 3) == 2) { // expansion and check bits
189
        if ((rx->bits & 3) == 2) { // expansion and check bits
190 190
          rx->data = (rx->bits >> 2) & 0xff;
191 191
          rx->address = (rx->bits >> 10) & 0x1f;
192 192
          rx->new_data = 1;
193
        //}
193
        }
194 194
        rx->count = 0;
195 195
        rx->bits = 0;
196 196
      }

Also available in: Unified diff