mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
Fix AFHDS2A_RX
This commit is contained in:
1 parent
49a1ecea00
commit
bf61295b76
3 files changed
+8
-8
No files matched your search
@@ -167,7 +167,7 @@ static void multi_send_status()
|
||||
#if defined (FRSKYX_RX_TELEMETRY) || defined (AFHDS2A_RX_TELEMETRY)
|
||||
void receiver_channels_frame()
|
||||
{
|
||||
uint16_t len = pkt[3] * 11; // 11 bit per channel
|
||||
uint16_t len = packet_in[3] * 11; // 11 bit per channel
|
||||
if (len % 8 == 0)
|
||||
len = 4 + (len / 8);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user