mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 12:37:35 +08:00
19 lines
462 B
Bash
19 lines
462 B
Bash
#!/bin/sh
|
|
#
|
|
# UVify UVF4 specific board extras init
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
# IFO
|
|
if param compare SYS_AUTOSTART 4071
|
|
then
|
|
# IFO has only external i2c barometer.
|
|
# It does not start EKF2 in the beginning which is strange behaviour. but 3 seconds hack.
|
|
# We intentionally put this initialization to here for delayed initialization.
|
|
sleep 4
|
|
if ! ms5611 -T 5607 -X start
|
|
then
|
|
ms5611 -X start
|
|
fi
|
|
fi
|