move intel_aerofc-v1 init to rc.board

This commit is contained in:
Daniel Agar
2018-12-01 10:03:19 -05:00
parent a4830f8d7b
commit a8b91c7ac9
3 changed files with 3 additions and 36 deletions
+3 -14
View File
@@ -33,6 +33,7 @@ set FMU_MODE pwm
set IOFW "/etc/extras/px4_io-v2_default.bin"
set IO_PRESENT no
set LOG_FILE /fs/microsd/bootlog.txt
set LOGGER_ARGS ""
set LOGGER_BUF 14
set MAV_TYPE none
set MIXER none
@@ -142,6 +143,7 @@ else
# Waypoint storage.
# REBOOTWORK this needs to start in parallel.
#
# TODO: fix board override $DATAMAN_OPT
dataman start $DATAMAN_OPT
#
@@ -228,20 +230,6 @@ else
set DATAMAN_OPT "-f /fs/mtd_dataman"
fi
if ver hwcmp INTEL_AEROFC_V1
then
if param compare SYS_AUTOSTART 0
then
set AUTOCNF yes
fi
# We don't allow changing AUTOSTART as it doesn't work in
# other configurations.
param set SYS_AUTOSTART 4070
set DATAMAN_OPT -i
fi
if ver hwcmp BITCRAZE_CRAZYFLIE
then
if param compare SYS_AUTOSTART 0
@@ -509,6 +497,7 @@ unset FMU_MODE
unset IOFW
unset IO_PRESENT
unset LOG_FILE
unset LOGGER_ARGS
unset LOGGER_BUF
unset MAV_TYPE
unset MIXER