HAL_PX4: play some tones on PX4IO firmware load
gives some chance of knowing if it worked
This commit is contained in:
parent
c82caeeba1
commit
b91755318a
@ -52,13 +52,16 @@ then
|
||||
echo "No new px4io firmware"
|
||||
else
|
||||
echo "Loading /fs/microsd/px4io.bin"
|
||||
tone_alarm MBABGP
|
||||
if px4io update /fs/microsd/px4io.bin > /fs/microsd/APM/px4io_update.log
|
||||
then
|
||||
cp /fs/microsd/px4io.bin /fs/microsd/px4io.bin.loaded
|
||||
echo "Loaded /fs/microsd/px4io.bin OK" >> /fs/microsd/APM/px4io_update.log
|
||||
tone_alarm MSPAA
|
||||
else
|
||||
echo "Failed loading /fs/microsd/px4io.bin" >> /fs/microsd/APM/px4io_update.log
|
||||
echo "Failed to upgrade PX4IO firmware - check PX4IO is in bootloader mode"
|
||||
tone_alarm MNGGG
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user