Skip to content

Commit

Permalink
MSPOSD does not require telemetry_tx or telemetry_rx (#1597)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioFPVdev authored Nov 3, 2024
1 parent a9e212c commit ec78554
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions general/package/datalink/files/telemetry
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ if [ ! -e /usr/bin/telemetry_rx ] || [ ! -e /usr/bin/telemetry_tx ]; then
fi

start_drone_telemetry() {
if [ "$one_way" = "false" ]; then
telemetry_rx -p "$stream_rx" -u "$port_rx" -K "$keydir/$unit.key" -i "$link_id" "$wlan" > /dev/null &
if [ "$router" -lt 2 ]; then
if [ "$one_way" = "false" ]; then
telemetry_rx -p "$stream_rx" -u "$port_rx" -K "$keydir/$unit.key" -i "$link_id" "$wlan" > /dev/null &
fi
telemetry_tx -p "$stream_tx" -u "$port_tx" -K "$keydir/$unit.key" -B "$bandwidth" \
-M "$mcs_index" -S "$stbc" -L "$ldpc" -G "$guard_interval" -k "$fec_k" -n "$fec_n" \
-T "$pool_timeout" -i "$link_id" -f "$frame_type" "$wlan" > /dev/null &
fi
telemetry_tx -p "$stream_tx" -u "$port_tx" -K "$keydir/$unit.key" -B "$bandwidth" \
-M "$mcs_index" -S "$stbc" -L "$ldpc" -G "$guard_interval" -k "$fec_k" -n "$fec_n" \
-T "$pool_timeout" -i "$link_id" -f "$frame_type" "$wlan" > /dev/null &
}

start_gs_telemetry() {
Expand Down

0 comments on commit ec78554

Please sign in to comment.