mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
fixing bicopter mixer... AGAIN.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@107 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
e92d9e8261
commit
634f344a12
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ void mixTable(void)
|
||||||
case MULTITYPE_BI:
|
case MULTITYPE_BI:
|
||||||
motor[0] = PIDMIX(+1, 0, 0); //LEFT
|
motor[0] = PIDMIX(+1, 0, 0); //LEFT
|
||||||
motor[1] = PIDMIX(-1, 0, 0); //RIGHT
|
motor[1] = PIDMIX(-1, 0, 0); //RIGHT
|
||||||
servo[4] = constrain(1500 + cfg.yaw_direction * (axisPID[YAW] + axisPID[PITCH]), 1020, 2000); //LEFT
|
servo[4] = constrain(1500 + (cfg.yaw_direction * axisPID[YAW]) + axisPID[PITCH], 1020, 2000); //LEFT
|
||||||
servo[5] = constrain(1500 + cfg.yaw_direction * (axisPID[YAW] - axisPID[PITCH]), 1020, 2000); //RIGHT
|
servo[5] = constrain(1500 + (cfg.yaw_direction * axisPID[YAW]) - axisPID[PITCH], 1020, 2000); //RIGHT
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MULTITYPE_TRI:
|
case MULTITYPE_TRI:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue