mirror of
https://github.com/okalachev/flix.git
synced 2026-01-10 13:06:56 +00:00
Don't trigger rc failsafe in AUTO mode or if disamed
This commit is contained in:
@@ -16,6 +16,8 @@ void failsafe() {
|
|||||||
|
|
||||||
// RC loss failsafe
|
// RC loss failsafe
|
||||||
void rcLossFailsafe() {
|
void rcLossFailsafe() {
|
||||||
|
if (mode == AUTO) return;
|
||||||
|
if (!armed) return;
|
||||||
if (t - controlTime > RC_LOSS_TIMEOUT) {
|
if (t - controlTime > RC_LOSS_TIMEOUT) {
|
||||||
descend();
|
descend();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user