rc.sensors: moved common ms5611 start to rc.board_sensors per board

This commit is contained in:
BazookaJoe1900
2019-09-01 19:55:50 +03:00
committed by Daniel Agar
parent 9c6d4e28ea
commit e3b60cd9e7
11 changed files with 39 additions and 6 deletions

View File

@@ -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