AP_InertialSensor: INS_generic example, add support L3GD20

This commit is contained in:
Víctor Mayoral Vilches 2014-07-17 14:10:14 +02:00 committed by Andrew Tridgell
parent 0f908a8ccd
commit 8968647873
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ AP_InertialSensor_Flymaple ins;
AP_InertialSensor_L3G4200D ins;
#elif CONFIG_INS_TYPE == HAL_INS_MPU9250
AP_InertialSensor_MPU9250 ins;
#elif CONFIG_INS_TYPE == HAL_INS_L3GD20
AP_InertialSensor_L3GD20 ins;
#else
#error Unrecognised CONFIG_INS_TYPE setting.
#endif // CONFIG_INS_TYPE