From 3e12f1938ff1b70bf8670a6dec721796dfb0f09f Mon Sep 17 00:00:00 2001 From: Jye <14170229+JyeSmith@users.noreply.github.com> Date: Thu, 17 Oct 2024 16:41:37 +1000 Subject: [PATCH] actually send airport data to the rx :| --- src/src/tx_main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/src/tx_main.cpp b/src/src/tx_main.cpp index d0093075..08ecf25d 100644 --- a/src/src/tx_main.cpp +++ b/src/src/tx_main.cpp @@ -548,7 +548,11 @@ void ICACHE_RAM_ATTR SendRCdataToRF() } else { - if ((NextPacketIsMspData && MspSender.IsActive()) || dontSendChannelData) + if (firmwareOptions.is_airport) + { + OtaPackAirportData(&otaPkt, &apInputBuffer); + } + else if ((NextPacketIsMspData && MspSender.IsActive()) || dontSendChannelData) { otaPkt.std.type = PACKET_TYPE_MSPDATA; if (OtaIsFullRes) -- 2.11.4.GIT