mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 14:24:21 +08:00
add new parameter SENS_EN_PMW3901 to start pmw3901 optical flow
This commit is contained in:
committed by
Daniel Agar
parent
47355333ad
commit
8a45c6145b
@@ -103,6 +103,12 @@ then
|
||||
teraranger start -a
|
||||
fi
|
||||
|
||||
# Possible pmw3901 optical flow sensor
|
||||
if param greater SENS_EN_PMW3901 0
|
||||
then
|
||||
pmw3901 start
|
||||
fi
|
||||
|
||||
###############################################################################
|
||||
# End Optional drivers #
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user