mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-01 10:17:53 +00:00
Update AFHDS2A_a7105.ino
This commit is contained in:
parent
fa13b67f3a
commit
90fb2d745f
@ -96,12 +96,11 @@ static void AFHDS2A_update_telemetry()
|
|||||||
#if 0
|
#if 0
|
||||||
debug("T(%02X)=",packet[0]);
|
debug("T(%02X)=",packet[0]);
|
||||||
for(uint8_t i=9;i < AFHDS2A_RXPACKET_SIZE; i++)
|
for(uint8_t i=9;i < AFHDS2A_RXPACKET_SIZE; i++)
|
||||||
{
|
|
||||||
packet_in[i-8]=packet[i];
|
|
||||||
debug(" %02X",packet[i]);
|
debug(" %02X",packet[i]);
|
||||||
}
|
|
||||||
debugln("");
|
debugln("");
|
||||||
#endif
|
#endif
|
||||||
|
for(uint8_t i=9;i < AFHDS2A_RXPACKET_SIZE; i++)
|
||||||
|
packet_in[i-8]=packet[i];
|
||||||
packet_in[29]=packet[0]; // 0xAA Normal telemetry, 0xAC Extended telemetry
|
packet_in[29]=packet[0]; // 0xAA Normal telemetry, 0xAC Extended telemetry
|
||||||
telemetry_link=2;
|
telemetry_link=2;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user