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