We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa13b67 commit 90fb2d7Copy full SHA for 90fb2d7
Multiprotocol/AFHDS2A_a7105.ino
@@ -96,12 +96,11 @@ static void AFHDS2A_update_telemetry()
96
#if 0
97
debug("T(%02X)=",packet[0]);
98
for(uint8_t i=9;i < AFHDS2A_RXPACKET_SIZE; i++)
99
- {
100
- packet_in[i-8]=packet[i];
101
debug(" %02X",packet[i]);
102
- }
103
debugln("");
104
#endif
+ for(uint8_t i=9;i < AFHDS2A_RXPACKET_SIZE; i++)
+ packet_in[i-8]=packet[i];
105
packet_in[29]=packet[0]; // 0xAA Normal telemetry, 0xAC Extended telemetry
106
telemetry_link=2;
107
return;
0 commit comments