mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_NavEKF: use APM_BUILD_TYPE() macro
This commit is contained in:
parent
fbec098e2f
commit
bafc664750
@ -25,11 +25,11 @@
|
||||
where the code is built. Note that this trick won't work for arduino
|
||||
builds on APM2, but NavEKF doesn't run on APM2, so that's OK
|
||||
*/
|
||||
#if APM_BUILD_DIRECTORY == APM_BUILD_ArduCopter
|
||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
||||
// copter defaults
|
||||
#define VELNE_NOISE_DEFAULT 0.30f
|
||||
|
||||
#elif APM_BUILD_DIRECTORY == APM_BUILD_APMrover2
|
||||
#elif APM_BUILD_TYPE(APM_BUILD_APMrover2)
|
||||
// rover defaults
|
||||
#define VELNE_NOISE_DEFAULT 0.30f
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user