AP_AHRS: define AP_AHRS_TYPE to be the type of AHRS in use
This commit is contained in:
parent
569626ac1a
commit
f92c711d14
@ -435,4 +435,10 @@ protected:
|
||||
#include <AP_AHRS_DCM.h>
|
||||
#include <AP_AHRS_NavEKF.h>
|
||||
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
#define AP_AHRS_TYPE AP_AHRS_NavEKF
|
||||
#else
|
||||
#define AP_AHRS_TYPE AP_AHRS
|
||||
#endif
|
||||
|
||||
#endif // __AP_AHRS_H__
|
||||
|
Loading…
Reference in New Issue
Block a user