|
|
|
@ -1193,11 +1193,6 @@ static void slow_loop()
@@ -1193,11 +1193,6 @@ static void slow_loop()
|
|
|
|
|
slow_loopCounter++; |
|
|
|
|
superslow_loopCounter++; |
|
|
|
|
|
|
|
|
|
// update throttle hold every 20 seconds |
|
|
|
|
if(superslow_loopCounter > 60){ |
|
|
|
|
update_throttle_cruise(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(superslow_loopCounter > 1200){ |
|
|
|
|
#if HIL_MODE != HIL_MODE_ATTITUDE |
|
|
|
|
if(g.rc_3.control_in == 0 && control_mode == STABILIZE && g.compass_enabled){ |
|
|
|
|