mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
POSIX: remove check for /tmp/ttyS{0|1}
The posix build now disables the UART code in mavlink. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -c /tmp/ttyS0 ] || [ ! -c /tmp/ttyS1 ]
|
||||
then
|
||||
echo "Need to create /tmp/ttyS[01]"
|
||||
echo "socat PTY,link=/tmp/ttyS0 PTY,link=/tmp/ttyS1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d /fs/msdcard ] && [ ! -w /fs/msdcard ]
|
||||
then
|
||||
echo "Need to create/mount writable /fs/microsd"
|
||||
|
||||
Reference in New Issue
Block a user