mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
rc.sensors: moved common ms5611 start to rc.board_sensors per board
This commit is contained in:
committed by
Daniel Agar
parent
9c6d4e28ea
commit
e3b60cd9e7
@@ -14,6 +14,12 @@ hmc5883 -C -T -I -R 4 start
|
||||
# Internal SPI bus ICM-20608-G
|
||||
mpu6000 -T 20608 start
|
||||
|
||||
# External SPI
|
||||
ms5611 -S start
|
||||
|
||||
# Internal SPI (auto detect ms5611 or ms5607)
|
||||
ms5611 -T 0 -s start
|
||||
|
||||
set BOARD_FMUV3 0
|
||||
|
||||
# V3 build hwtypecmp supports V2|V2M|V30
|
||||
@@ -59,6 +65,9 @@ then
|
||||
# sensor heating is available, but we disable it for now
|
||||
param set SENS_EN_THERMAL 0
|
||||
|
||||
# External SPI
|
||||
ms5611 -S start
|
||||
|
||||
# external L3GD20H is rotated 180 degrees yaw
|
||||
l3gd20 -X -R 4 start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user