fmu-v4 rc.board_extras: use 'if ! ' instead if 'if then else'

This commit is contained in:
Beat Küng
2019-02-19 10:55:55 +01:00
committed by Daniele Pettenuzzo
parent ea27a03599
commit 6d2849f4ef
+1 -2
View File
@@ -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