Browse Source

BL-Ctrl 3.0 fix

sbg
marco 11 years ago
parent
commit
a8b3381ca9
  1. 2
      src/drivers/mkblctrl/mkblctrl.cpp

2
src/drivers/mkblctrl/mkblctrl.cpp

@ -705,7 +705,7 @@ MK::mk_check_for_blctrl(unsigned int count, bool showOutput, bool initI2C) @@ -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;
foundMotorCount++;
if (Motor[i].MaxPWM == 250) {
if ((Motor[i].MaxPWM & 252) == 248) {
Motor[i].Version = BLCTRL_NEW;
} else {

Loading…
Cancel
Save