mirror of https://github.com/ArduPilot/ardupilot
Broken timer - removed
This commit is contained in:
parent
93d7712c9a
commit
c45209eaff
|
@ -1193,11 +1193,6 @@ static void slow_loop()
|
||||||
slow_loopCounter++;
|
slow_loopCounter++;
|
||||||
superslow_loopCounter++;
|
superslow_loopCounter++;
|
||||||
|
|
||||||
// update throttle hold every 20 seconds
|
|
||||||
if(superslow_loopCounter > 60){
|
|
||||||
update_throttle_cruise();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(superslow_loopCounter > 1200){
|
if(superslow_loopCounter > 1200){
|
||||||
#if HIL_MODE != HIL_MODE_ATTITUDE
|
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||||
if(g.rc_3.control_in == 0 && control_mode == STABILIZE && g.compass_enabled){
|
if(g.rc_3.control_in == 0 && control_mode == STABILIZE && g.compass_enabled){
|
||||||
|
|
Loading…
Reference in New Issue