Rev 1673 | Rev 1683 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1673 | Rev 1680 | ||
---|---|---|---|
Line 232... | Line 232... | ||
232 | if(++motor_read >= MAX_MOTORS) |
232 | if(++motor_read >= MAX_MOTORS) |
233 | { // all motors read |
233 | { // all motors read |
234 | motor_read = 0; // restart from beginning |
234 | motor_read = 0; // restart from beginning |
235 | BLConfig_ReadMask = 0; // reset read configuration bitmask |
235 | BLConfig_ReadMask = 0; // reset read configuration bitmask |
236 | if(++motor_read_temperature >= MAX_MOTORS) |
236 | if(++motor_read_temperature >= MAX_MOTORS) |
237 | { |
237 | { |
238 | motor_read_temperature = 0; |
238 | motor_read_temperature = 0; |
239 | BLFlags &= ~BLFLAG_READ_VERSION; |
239 | BLFlags &= ~BLFLAG_READ_VERSION; |
240 | } |
240 | } |
241 | } |
241 | } |
242 | BLFlags |= BLFLAG_TX_COMPLETE; |
242 | BLFlags |= BLFLAG_TX_COMPLETE; |