mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 12:17:35 +08:00
Fix MPU6500 devtype define
This commit is contained in:
@@ -14,7 +14,7 @@ set(config_module_list
|
||||
drivers/boards/asc-v1
|
||||
drivers/rgbled_pwm
|
||||
drivers/tap_esc
|
||||
#drivers/mpu6500
|
||||
drivers/mpu6500
|
||||
drivers/ms5611
|
||||
drivers/hmc5883
|
||||
drivers/gps
|
||||
|
||||
@@ -71,14 +71,10 @@
|
||||
#define DRV_GYR_DEVTYPE_BMI160 0x25
|
||||
#define DRV_RNG_DEVTYPE_MB12XX 0x31
|
||||
#define DRV_RNG_DEVTYPE_LL40LS 0x32
|
||||
|
||||
#if defined (CONFIG_ARCH_BOARD_MINDPX_V2) || defined (CONFIG_ARCH_BOARD_TAP_V1)
|
||||
#define DRV_ACC_DEVTYPE_MPU6050 0x14
|
||||
#define DRV_ACC_DEVTYPE_MPU6500 0x13
|
||||
|
||||
#define DRV_GYR_DEVTYPE_MPU6050 0x20
|
||||
#define DRV_GYR_DEVTYPE_MPU6500 0x21
|
||||
#endif
|
||||
#define DRV_ACC_DEVTYPE_MPU6050 0x33
|
||||
#define DRV_ACC_DEVTYPE_MPU6500 0x34
|
||||
#define DRV_GYR_DEVTYPE_MPU6050 0x35
|
||||
#define DRV_GYR_DEVTYPE_MPU6500 0x36
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user