Fix critical typo in RC loss fail-safe

This commit is contained in:
Oleg Kalachev 2025-01-23 00:34:59 +03:00
parent c01bac0d0a
commit fd6bc42e9e

View File

@ -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;
}