mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -04:00
Copter: fixed build with no EKF
This commit is contained in:
parent
0599f1dcb1
commit
fba02479b7
@ -120,8 +120,10 @@ static bool set_mode(uint8_t mode)
|
||||
// called at 100hz or more
|
||||
static void update_flight_mode()
|
||||
{
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
// Update EKF speed limit - used to limit speed when we are using optical flow
|
||||
ahrs.getEkfControlLimits(ekfGndSpdLimit, ekfNavVelGainScaler);
|
||||
#endif
|
||||
switch (control_mode) {
|
||||
case ACRO:
|
||||
#if FRAME_CONFIG == HELI_FRAME
|
||||
|
Loading…
Reference in New Issue
Block a user