From 9baaede9f5c0f24bc0588df5a12b79f887361a27 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 21 Nov 2026 16:01:35 +0100 Subject: [PATCH] FrSky X: S.Port frames to the receiver stored at payload[i-start-2] (#1203) FrSkyX_seq_sport() (SPORT_SEND) stored the outgoing bytes at payload[i-start+2], i.e. payload[4] to payload[11] for the 8 bytes of an LBT packet: up to 4 bytes past each frame's 8-byte payload (into the next frame's count and payload, past the array for frame 3). The retransmits sent payload[i] and payload[i-start+2], bytes from beyond the frame. All three now use payload[i-start-2] (0 to 7). --- Multiprotocol/FrSkyDVX_common.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Multiprotocol/FrSkyDVX_common.ino b/Multiprotocol/FrSkyDVX_common.ino index 67f9348e..c5e192e1 100644 --- a/Multiprotocol/FrSkyDVX_common.ino +++ b/Multiprotocol/FrSkyDVX_common.ino @@ -422,7 +422,7 @@ void Frsky_init_clone(void) packet[start] |= FrSkyX_TX_IN_Seq&0x03; packet[start+1] = FrSkyX_TX_Frames[FrSkyX_TX_IN_Seq&0x03].count; for (uint8_t i=start+2;i