提交 3af2fc46 编写于 作者: S songhanchen 提交者: Yajia Zhang

Apollo_base: fix the code error in soft link

上级 323e4f15
......@@ -148,7 +148,7 @@ function setup_device() {
for INDEX in `seq 0 3`
do
# soft link if sensorbox exist
if [ -e /dev/zynq_can${INDEX}] && [ ! -e /dev/can${INDEX} ]; then
if [ -e /dev/zynq_can${INDEX} ] && [ ! -e /dev/can${INDEX} ]; then
sudo ln -s /dev/zynq_can${INDEX} /dev/can${INDEX}
fi
if [ ! -e /dev/can${INDEX} ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册