From 6d2849f4ef5e50a8806e445c6e1071fd28741648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 19 Feb 2019 07:38:44 +0100 Subject: [PATCH] fmu-v4 rc.board_extras: use 'if ! ' instead if 'if then else' --- boards/px4/fmu-v4/init/rc.board_extras | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boards/px4/fmu-v4/init/rc.board_extras b/boards/px4/fmu-v4/init/rc.board_extras index d926dfd79d..6ba582d035 100644 --- a/boards/px4/fmu-v4/init/rc.board_extras +++ b/boards/px4/fmu-v4/init/rc.board_extras @@ -5,9 +5,8 @@ # Pixracer: start MAVLink on Wifi (ESP8266 port). Except for the TealOne airframe. -if param compare SYS_AUTOSTART 4250 +if ! param compare SYS_AUTOSTART 4250 then -else mavlink start -r 20000 -b 921600 -d /dev/ttyS0 fi