diff options
author | marco <marco@marcos-mbp.bauer.loc> | 2014-02-17 21:29:14 +0100 |
---|---|---|
committer | marco <marco@marcos-mbp.bauer.loc> | 2014-02-17 21:29:14 +0100 |
commit | a8b3381ca9675890b0d36e98a4453ac18d19df3e (patch) | |
tree | 5af5750161e5b111472ca9370f725d0a50fca84c /src | |
parent | 71d4c7fed8bc809fc38ba54147156fc834d38846 (diff) | |
download | px4-firmware-a8b3381ca9675890b0d36e98a4453ac18d19df3e.tar.gz px4-firmware-a8b3381ca9675890b0d36e98a4453ac18d19df3e.tar.bz2 px4-firmware-a8b3381ca9675890b0d36e98a4453ac18d19df3e.zip |
BL-Ctrl 3.0 fix
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/mkblctrl/mkblctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/mkblctrl/mkblctrl.cpp b/src/drivers/mkblctrl/mkblctrl.cpp index ec5f77d74..705e98eea 100644 --- a/src/drivers/mkblctrl/mkblctrl.cpp +++ b/src/drivers/mkblctrl/mkblctrl.cpp @@ -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 { |