mirror of
https://github.com/okalachev/flix.git
synced 2025-07-27 17:49:33 +00:00
Fix critical typo in RC loss fail-safe
This commit is contained in:
parent
c01bac0d0a
commit
fd6bc42e9e
@ -20,7 +20,7 @@ void descend() {
|
||||
mode = STAB;
|
||||
controls[rollChannel] = 0;
|
||||
controls[pitchChannel] = 0;
|
||||
controls[throttleChannel] = 0;
|
||||
controls[yawChannel] = 0;
|
||||
controls[throttleChannel] -= dt / DESCEND_TIME;
|
||||
if (controls[throttleChannel] < 0) controls[throttleChannel] = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user