Skip to content
Snippets Groups Projects
Commit 4240abad authored by Daniel Agar's avatar Daniel Agar
Browse files

move bitcraze_crazyflie init to rc.board

parent 0e980c1f
No related branches found
No related tags found
No related merge requests found
......@@ -31,20 +31,6 @@ then
adc start
fi
if ver hwcmp BITCRAZE_CRAZYFLIE
then
# Onboard I2C
mpu9250 -R 12 start
# I2C bypass of mpu
lps25h start
# Optical flow deck
vl53lxx start
pmw3901 start
fi
if ver hwcmp ATMEL_SAME70XPLAINED_V1
then
# External I2C bus
......
......@@ -225,15 +225,6 @@ else
sh $BOARD_RC
fi
if ver hwcmp BITCRAZE_CRAZYFLIE
then
if param compare SYS_AUTOSTART 0
then
param set SYS_AUTOSTART 4900
set AUTOCNF yes
fi
fi
###############################################################################
# End Setup for board specific configurations. #
###############################################################################
......
#!nsh
#
# Bitcraze Crazyflie specific board init
#
#------------------------------------------------------------------------------
#
if param compare SYS_AUTOSTART 0
then
param set SYS_AUTOSTART 4900
set AUTOCNF yes
fi
if [ $AUTOCNF = yes ]
then
fi
set MIXER_AUX none
# Onboard I2C
mpu9250 -R 12 start
# I2C bypass of mpu
lps25h start
# Optical flow deck
vl53lxx start
pmw3901 start
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment