Merge pull request #677 from NosDE/master

BL-Ctrl 3.0 fix
This commit is contained in:
Lorenz Meier 2014-02-17 21:37:53 +01:00
commit 4219de6789
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ MK::mk_check_for_blctrl(unsigned int count, bool showOutput, bool initI2C)
Motor[i].State |= MOTOR_STATE_PRESENT_MASK; // set present bit; Motor[i].State |= MOTOR_STATE_PRESENT_MASK; // set present bit;
foundMotorCount++; foundMotorCount++;
if (Motor[i].MaxPWM == 250) { if ((Motor[i].MaxPWM & 252) == 248) {
Motor[i].Version = BLCTRL_NEW; Motor[i].Version = BLCTRL_NEW;
} else { } else {