AP_AHRS: define AP_AHRS_TYPE to be the type of AHRS in use

This commit is contained in:
Jonathan Challinger 2015-02-24 20:07:26 -08:00 committed by Andrew Tridgell
parent 569626ac1a
commit f92c711d14

View File

@ -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__