mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Fix critical typo in RC loss fail-safe
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user