rcs:Add comment & test 4 Mini test on all px4io init

This commit is contained in:
David Sidrane 2018-08-20 12:20:52 -07:00 committed by Lorenz Meier
parent c072fefa2c
commit 19a8c3e49c
1 changed files with 6 additions and 7 deletions

View File

@ -138,6 +138,7 @@ then
hardfault_log reset
fi
else
# Play the startup tune.
tune_control play -t 1
fi
else
@ -348,15 +349,13 @@ else
if [ -f $IOFW ]
then
if px4io checkcrc ${IOFW}
# Check for the mini using build with px4io fw file
# but not a px4IO
if ! ver hwtypecmp V540
then
set IO_PRESENT yes
else
# Check for the mini using build with px4io fw file
# but not a px4IO
if ver hwtypecmp V540
if px4io checkcrc ${IOFW}
then
echo "PX4IO Not Suported" >> $LOG_FILE
set IO_PRESENT yes
else
# tune Program PX4IO
tune_control play -t 18