mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 05:56:44 +00:00
Minor fix
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ void control() {
|
|||||||
|
|
||||||
void interpretControls() {
|
void interpretControls() {
|
||||||
if (controlMode < 0.25) mode = flightModes[0];
|
if (controlMode < 0.25) mode = flightModes[0];
|
||||||
else if (controlMode < 0.75) mode = flightModes[1];
|
else if (controlMode <= 0.75) mode = flightModes[1];
|
||||||
else if (controlMode > 0.75) mode = flightModes[2];
|
else if (controlMode > 0.75) mode = flightModes[2];
|
||||||
|
|
||||||
if (mode == AUTO) return; // pilot is not effective in AUTO mode
|
if (mode == AUTO) return; // pilot is not effective in AUTO mode
|
||||||
|
|||||||
Reference in New Issue
Block a user