Files
bizhang_-obav/ROMFS/px4fmu_common/init.d/rc.io
Thomas Gubler 29eab8ebd4 change [init] to [i]
This change was introduced in pull #1461. This fixes some missed
occurrences.
2014-12-14 11:28:25 +01:00

21 lines
286 B
Io

#
# Init PX4IO interface
#
#
# Allow PX4IO to recover from midair restarts.
#
px4io recovery
#
# Adjust PX4IO update rate limit
#
set PX4IO_LIMIT 400
if ver hwcmp PX4FMU_V1
then
set PX4IO_LIMIT 200
fi
echo "[i] Set PX4IO update rate limit: $PX4IO_LIMIT Hz"
px4io limit $PX4IO_LIMIT