mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user