AP_NavEKF3: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI

This commit is contained in:
Andy Piper 2021-10-25 18:06:18 +01:00 committed by Andrew Tridgell
parent 008c61215c
commit bc0101e446
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
APM_BUILD_DIRECTORY is taken from the main vehicle directory name
where the code is built.
*/
#if APM_BUILD_COPTER_OR_HELI() || APM_BUILD_TYPE(APM_BUILD_Replay)
#if APM_BUILD_COPTER_OR_HELI || APM_BUILD_TYPE(APM_BUILD_Replay)
// copter defaults
#define VELNE_M_NSE_DEFAULT 0.3f
#define VELD_M_NSE_DEFAULT 0.5f

View File

@ -24,6 +24,7 @@
#pragma GCC optimize("O2")
#endif
#include "AP_NavEKF3_feature.h"
#include <AP_Common/Location.h>
#include <AP_Math/AP_Math.h>
#include <AP_Math/vectorN.h>
@ -35,7 +36,6 @@
#include <AP_DAL/AP_DAL.h>
#include "AP_NavEKF/EKFGSF_yaw.h"
#include "AP_NavEKF3_feature.h"
// GPS pre-flight check bit locations
#define MASK_GPS_NSATS (1<<0)