Install vtxmenu files (#1582)

pull/1586/head
henkwiedig 2024-10-22 11:12:15 +02:00 committed by GitHub
parent 874aa01eb9
commit feb9c1aa59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -40,8 +40,8 @@ case "$1" in
mavlink-routerd -c /etc/mavlink.conf > /dev/null 2>&1 &
else
if [ "$router" -eq 2 ]; then
msposd --master "$serial" --baudrate "$baud" --channels "$channels" \
--out 127.0.0.1:14555 -osd -r "$fps" --ahi "$ahi" > /dev/null &
msposd --channels "$channels" --master "$serial" --baudrate "$baud" \
--out 127.0.0.1:$(($port_tx + 1)) -osd -r "$fps" --ahi "$ahi" > /dev/null &
else
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 &

View File

@ -28,10 +28,12 @@ endef
define MSPOSD_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/msposd
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/safeboot.sh
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/share/fonts
$(INSTALL) -m 644 -t $(TARGET_DIR)/usr/share/fonts $(@D)/fonts/common/font.png
$(INSTALL) -m 644 -t $(TARGET_DIR)/usr/share/fonts $(@D)/fonts/common/font_hd.png
$(INSTALL) -m 644 -t $(TARGET_DIR)/etc $(@D)/vtxmenu.ini
endef
$(eval $(generic-package))