Project

General

Profile

Revision 69c2203a

ID69c2203ac76eab260bcad83311121bca4ceb5e8a

Added by Thomas Mullins over 11 years ago

Added check bits back into BOM. oops...

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