mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 08:53:56 -04:00
HAL_PX4: auto-create APM directory on SD card
This commit is contained in:
parent
bb14672dab
commit
6a1aad30f1
@ -41,6 +41,10 @@ fi
|
|||||||
|
|
||||||
if [ $sketch != NONE ]
|
if [ $sketch != NONE ]
|
||||||
then
|
then
|
||||||
|
if mkdir /fs/microsd/APM
|
||||||
|
then
|
||||||
|
echo "Created APM directory"
|
||||||
|
fi
|
||||||
if [ -f /fs/microsd/px4io.bin ]
|
if [ -f /fs/microsd/px4io.bin ]
|
||||||
then
|
then
|
||||||
echo "Checking for new px4io firmware"
|
echo "Checking for new px4io firmware"
|
||||||
|
Loading…
Reference in New Issue
Block a user