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
This commit is contained in:
Julien Beraud 2016-10-17 11:48:49 +02:00 committed by Andrew Tridgell
parent 8a64106faa
commit 20dcd6e082

View File

@ -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;