Browse Source

RCOutput_Bebop: fix motor order

Accidentally pushed in commit 298f7bffb9
The order of the motors shouldn't have been changed on version 5 because
it is specific to older versions of the ESC controller firmware
master
Julien Beraud 8 years ago committed by Andrew Tridgell
parent
commit
20dcd6e082
  1. 2
      libraries/AP_HAL_Linux/RCOutput_Bebop.cpp

2
libraries/AP_HAL_Linux/RCOutput_Bebop.cpp

@ -448,7 +448,7 @@ void RCOutput_Bebop::_run_rcout() @@ -448,7 +448,7 @@ void RCOutput_Bebop::_run_rcout()
* keep current order. The order changes from version 2 on bebop 1 and
* remains the same as this for bebop 2
*/
if (info.version_maj == 1 || info.version_maj == 5) {
if (info.version_maj == 1) {
bebop_bldc_right_front = BEBOP_BLDC_MOTOR_1;
bebop_bldc_left_front = BEBOP_BLDC_MOTOR_2;
bebop_bldc_left_back = BEBOP_BLDC_MOTOR_3;

Loading…
Cancel
Save