mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
[rotorcraft] simplify nav_is_in_flight
This commit is contained in:
@@ -342,10 +342,7 @@ bool_t nav_detect_ground(void) {
|
||||
}
|
||||
|
||||
bool_t nav_is_in_flight(void) {
|
||||
if (autopilot_in_flight)
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
return autopilot_in_flight;
|
||||
}
|
||||
|
||||
void nav_home(void) {}
|
||||
|
||||
Reference in New Issue
Block a user