Update AFHDS2A_a7105.ino

This commit is contained in:
pascallanger 2025-03-31 22:21:33 +02:00
parent fa13b67f3a
commit 90fb2d745f

View File

@ -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;