mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
PX4: avoid nsh redirects in if statements
this helps avoid FAT filesystem corruption
This commit is contained in:
parent
e43234874a
commit
ef6407988b
@ -86,7 +86,8 @@ then
|
||||
else
|
||||
echo Loading /etc/px4io/px4io.bin
|
||||
tone_alarm MBABGP
|
||||
if px4io update /etc/px4io/px4io.bin > /fs/microsd/APM/px4io_update.log
|
||||
echo Loading /etc/px4io/px4io.bin > /fs/microsd/APM/px4io_update.log
|
||||
if px4io update /etc/px4io/px4io.bin
|
||||
then
|
||||
cp /etc/px4io/px4io.bin /fs/microsd/px4io.loaded
|
||||
echo Loaded /etc/px4io/px4io.bin OK >> /fs/microsd/APM/px4io_update.log
|
||||
|
Loading…
Reference in New Issue
Block a user