PX4: changes to startup after stacksize fix
we can redirect to FAT fs again, and remove the sleep lines
This commit is contained in:
parent
e5ad9dbd15
commit
f88bb5638b
@ -86,12 +86,11 @@ then
|
||||
else
|
||||
echo Loading /etc/px4io/px4io.bin
|
||||
tone_alarm MBABGP
|
||||
if px4io update /etc/px4io/px4io.bin
|
||||
if px4io update /etc/px4io/px4io.bin > /fs/microsd/APM/px4io_update.log
|
||||
then
|
||||
cp /etc/px4io/px4io.bin /fs/microsd/px4io.loaded
|
||||
echo Loaded /etc/px4io/px4io.bin OK >> /fs/microsd/APM/px4io_update.log
|
||||
tone_alarm MSPAA
|
||||
sleep 1
|
||||
else
|
||||
echo Failed loading /etc/px4io/px4io.bin >> /fs/microsd/APM/px4io_update.log
|
||||
echo "check Safety Button" >> /fs/microsd/APM/px4io_update.log
|
||||
@ -140,9 +139,6 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
# why is this sleep needed?
|
||||
sleep 1
|
||||
|
||||
# optional ETS airspeed sensor
|
||||
if ets_airspeed start
|
||||
then
|
||||
|
@ -82,5 +82,4 @@ then
|
||||
echo Running rc.APM
|
||||
# if APM startup is successful then nsh will exit
|
||||
sh /etc/init.d/rc.APM
|
||||
sleep 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user