mirror of https://github.com/OpenIPC/firmware.git
do not spam msp over mavlink
parent
c078505b09
commit
bc2333ae6e
|
@ -41,7 +41,7 @@ case "$1" in
|
||||||
else
|
else
|
||||||
if [ "$router" -eq 2 ]; then
|
if [ "$router" -eq 2 ]; then
|
||||||
msposd --channels "$channels" --master "$serial" --baudrate "$baud" \
|
msposd --channels "$channels" --master "$serial" --baudrate "$baud" \
|
||||||
--out 127.0.0.1:$port_tx -osd -r "$fps" --ahi "$ahi" > /dev/null &
|
--out 127.0.0.1:$(($port_tx + 1)) -osd -r "$fps" --ahi "$ahi" > /dev/null &
|
||||||
else
|
else
|
||||||
mavfwd --channels "$channels" --master "$serial" --baudrate "$baud" -p 100 -t -a "$aggregate" \
|
mavfwd --channels "$channels" --master "$serial" --baudrate "$baud" -p 100 -t -a "$aggregate" \
|
||||||
--out 127.0.0.1:$port_tx --in 127.0.0.1:$port_rx > /dev/null &
|
--out 127.0.0.1:$port_tx --in 127.0.0.1:$port_rx > /dev/null &
|
||||||
|
|
Loading…
Reference in New Issue