mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 05:05:19 +08:00
Tweak configs for CF2
Fix build error Capitalization mistake for headers Non-Mac compiler issue Baudrate for crazyflie nrf and fix code style Save space Cleanup mpu9250 driver
This commit is contained in:
committed by
Lorenz Meier
parent
5100785f51
commit
e6b98b2ab8
@@ -628,8 +628,23 @@ then
|
||||
px4flow start &
|
||||
fi
|
||||
|
||||
# Start USB shell if no microSD present, MAVLink else
|
||||
|
||||
set DEBUG_MODE no
|
||||
|
||||
if [ $LOG_FILE == /dev/null ]
|
||||
then
|
||||
set DEBUG_MODE yes
|
||||
fi
|
||||
|
||||
|
||||
if ver hwcmp CRAZYFLIE
|
||||
then
|
||||
set DEBUG_MODE no
|
||||
fi
|
||||
|
||||
|
||||
# Start USB shell if no microSD present, MAVLink else
|
||||
if [ $DEBUG_MODE == yes ]
|
||||
then
|
||||
# Try to get an USB console
|
||||
nshterm /dev/ttyACM0 &
|
||||
@@ -681,15 +696,6 @@ then
|
||||
ardrone_interface start -d /dev/ttyS1
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# Start Crazyflie driver
|
||||
#
|
||||
if ver hwcmp CRAZYFLIE
|
||||
then
|
||||
crazyflie start
|
||||
fi
|
||||
|
||||
#
|
||||
# Fixed wing setup
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user