mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
rcs:Add comment & test 4 Mini test on all px4io init
This commit is contained in:
committed by
Lorenz Meier
parent
c072fefa2c
commit
19a8c3e49c
@@ -138,6 +138,7 @@ then
|
|||||||
hardfault_log reset
|
hardfault_log reset
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
# Play the startup tune.
|
||||||
tune_control play -t 1
|
tune_control play -t 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@@ -347,16 +348,14 @@ else
|
|||||||
#
|
#
|
||||||
|
|
||||||
if [ -f $IOFW ]
|
if [ -f $IOFW ]
|
||||||
|
then
|
||||||
|
# Check for the mini using build with px4io fw file
|
||||||
|
# but not a px4IO
|
||||||
|
if ! ver hwtypecmp V540
|
||||||
then
|
then
|
||||||
if px4io checkcrc ${IOFW}
|
if px4io checkcrc ${IOFW}
|
||||||
then
|
then
|
||||||
set IO_PRESENT yes
|
set IO_PRESENT yes
|
||||||
else
|
|
||||||
# Check for the mini using build with px4io fw file
|
|
||||||
# but not a px4IO
|
|
||||||
if ver hwtypecmp V540
|
|
||||||
then
|
|
||||||
echo "PX4IO Not Suported" >> $LOG_FILE
|
|
||||||
else
|
else
|
||||||
# tune Program PX4IO
|
# tune Program PX4IO
|
||||||
tune_control play -t 18
|
tune_control play -t 18
|
||||||
|
|||||||
Reference in New Issue
Block a user