mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
Script update: PMW3901 driver argument has changed. so we change scripts and SPI interface.
This commit is contained in:
@@ -72,9 +72,8 @@ then
|
||||
param set SENS_BOARD_ROT 10
|
||||
# Yaw 180
|
||||
param set SENS_FLOW_ROT 4
|
||||
# TELEM3
|
||||
# TFMini on TELEM3
|
||||
param set SENS_TFMINI_CFG 103
|
||||
param set SENS_EN_PMW3901 1
|
||||
|
||||
# Smart Battery
|
||||
param set SENS_EN_BATT 1
|
||||
|
||||
@@ -52,4 +52,7 @@ then
|
||||
# IMU
|
||||
mpu9250 -R 2 start
|
||||
lis3mdl -R 2 -X start
|
||||
|
||||
# FLOW on SPI2
|
||||
pmw3901 start -s 2
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user