AP_InertialSensor: support FMUv4

This commit is contained in:
Andrew Tridgell 2015-11-25 13:06:53 +11:00
parent 9835043dd5
commit 774e257a88
1 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,8 @@ bool AP_InertialSensor_PX4::_init_sensor(void)
#else
#if defined(CONFIG_ARCH_BOARD_PX4FMU_V2)
_product_id = AP_PRODUCT_ID_PX4_V2;
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
_product_id = AP_PRODUCT_ID_PX4_V4;
#else
_product_id = AP_PRODUCT_ID_PX4;
#endif