Browse Source

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

sbg
Beat Küng 6 years ago committed by Daniele Pettenuzzo
parent
commit
6d2849f4ef
  1. 3
      boards/px4/fmu-v4/init/rc.board_extras

3
boards/px4/fmu-v4/init/rc.board_extras

@ -5,9 +5,8 @@ @@ -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

Loading…
Cancel
Save