mirror of https://github.com/ArduPilot/ardupilot
upped the threshold PWM for Max
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1568 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
f57887ee4a
commit
42c7423802
|
@ -61,7 +61,7 @@ unsigned long trim_timer;
|
||||||
void read_trim_switch()
|
void read_trim_switch()
|
||||||
{
|
{
|
||||||
// switch is engaged
|
// switch is engaged
|
||||||
if (rc_7.control_in > 500){
|
if (rc_7.control_in > 800){
|
||||||
if(trim_flag == false){
|
if(trim_flag == false){
|
||||||
// called once
|
// called once
|
||||||
trim_timer = millis();
|
trim_timer = millis();
|
||||||
|
|
Loading…
Reference in New Issue