mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
AP_InertialSensor: INS_generic example, add support L3GD20
This commit is contained in:
parent
0f908a8ccd
commit
8968647873
@ -55,6 +55,8 @@ AP_InertialSensor_Flymaple ins;
|
|||||||
AP_InertialSensor_L3G4200D ins;
|
AP_InertialSensor_L3G4200D ins;
|
||||||
#elif CONFIG_INS_TYPE == HAL_INS_MPU9250
|
#elif CONFIG_INS_TYPE == HAL_INS_MPU9250
|
||||||
AP_InertialSensor_MPU9250 ins;
|
AP_InertialSensor_MPU9250 ins;
|
||||||
|
#elif CONFIG_INS_TYPE == HAL_INS_L3GD20
|
||||||
|
AP_InertialSensor_L3GD20 ins;
|
||||||
#else
|
#else
|
||||||
#error Unrecognised CONFIG_INS_TYPE setting.
|
#error Unrecognised CONFIG_INS_TYPE setting.
|
||||||
#endif // CONFIG_INS_TYPE
|
#endif // CONFIG_INS_TYPE
|
||||||
|
Loading…
Reference in New Issue
Block a user