mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
FrSkyA: 9 S.Port bytes per receiver reply (#1215)
An ACCESS receiver sends one S.Port frame per reply, without its CRC: 7E + 8 bytes, count 9. The count was cut to 8 like a D16 one, so every frame lost its last byte and never reached the radio (sensors such as a vario stale or missing; RSSI and RX voltage, from the reply header, fine). Up to 9 bytes now; proces_sport_data() takes the 8 bytes after 7E and the frame to the radio gets its CRC as before. Co-authored-by: Raphael Coeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
1 parent
23c95da502
commit
56c286c379
2 files changed
+10
-8
No files matched your search
@@ -38,8 +38,8 @@ uint8_t RetrySequence ;
|
||||
|
||||
// Store for out of sequence packet
|
||||
uint8_t FrSkyX_RX_ValidSeq ;
|
||||
// Payload: up to 6 bytes from a D16 receiver, 8 from an ACCESS one
|
||||
#define FRSKYX_RX_PAYLOAD_MAX 8
|
||||
// Payload: up to 6 bytes from a D16 receiver, 9 from an ACCESS one
|
||||
#define FRSKYX_RX_PAYLOAD_MAX 9
|
||||
struct t_FrSkyX_RX_Frame
|
||||
{
|
||||
boolean valid;
|
||||
|
||||
Reference in new issue
Block a user