HAL_PX4: auto-create APM directory on SD card

This commit is contained in:
Andrew Tridgell 2013-03-16 19:46:51 +11:00
parent bb14672dab
commit 6a1aad30f1

View File

@ -41,6 +41,10 @@ fi
if [ $sketch != NONE ]
then
if mkdir /fs/microsd/APM
then
echo "Created APM directory"
fi
if [ -f /fs/microsd/px4io.bin ]
then
echo "Checking for new px4io firmware"