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

This commit is contained in:
Beat Küng 2019-02-19 07:38:44 +01:00 committed by Daniele Pettenuzzo
parent ea27a03599
commit 6d2849f4ef
1 changed files with 1 additions and 2 deletions

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