Browse Source

HAL_PX4: auto-create APM directory on SD card

master
Andrew Tridgell 12 years ago
parent
commit
6a1aad30f1
  1. 4
      libraries/AP_HAL_PX4/scripts/rc.APM

4
libraries/AP_HAL_PX4/scripts/rc.APM

@ -41,6 +41,10 @@ fi @@ -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"

Loading…
Cancel
Save