mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1715 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
b9145812fd
commit
cb62a3f262
@ -37,10 +37,11 @@ set_servos_4()
|
|||||||
{
|
{
|
||||||
static byte num;
|
static byte num;
|
||||||
static byte counteri;
|
static byte counteri;
|
||||||
|
int out_min;
|
||||||
|
|
||||||
// Quadcopter mix
|
// Quadcopter mix
|
||||||
if (motor_armed == true && motor_auto_safe == true) {
|
if (motor_armed == true && motor_auto_safe == true) {
|
||||||
int out_min = g.rc_3.radio_min;
|
out_min = g.rc_3.radio_min;
|
||||||
|
|
||||||
// Throttle is 0 to 1000 only
|
// Throttle is 0 to 1000 only
|
||||||
g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, 1000);
|
g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, 1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user