mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_NavEKF3: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
This commit is contained in:
parent
008c61215c
commit
bc0101e446
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user