Skip to content
Snippets Groups Projects
Commit cc0d78b6 authored by Lorenz Meier's avatar Lorenz Meier Committed by Roman Bapst
Browse files

sdlog2: Do not abort startup without microSD

parent 3c36a615
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,12 @@ if [ -d /fs/microsd ]
then
if ver hwcmp PX4FMU_V1
then
echo "Start sdlog2 at 50Hz"
sdlog2 start -r 40 -a -b 3 -t
if sdlog2 start -r 40 -a -b 3 -t
then
fi
else
echo "Start sdlog2 at 200Hz"
sdlog2 start -r 200 -a -b 22 -t
if sdlog2 start -r 200 -a -b 22 -t
then
fi
fi
fi
......@@ -42,6 +42,8 @@ else
tone_alarm MNBG
set LOG_FILE /dev/null
fi
else
set LOG_FILE /dev/null
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment