Debug on AFHDS2A telemetry

This commit is contained in:
Pascal Langer
2019-05-06 22:39:18 +02:00
parent 5538d4d1c4
commit 2b47958207
2 changed files with 6 additions and 2 deletions

View File

@@ -90,9 +90,13 @@ static void AFHDS2A_update_telemetry()
{
// forward telemetry to TX, skip rx and tx id to save space
pkt[0]= TX_RSSI;
debug("T=");
for(int i=9;i < AFHDS2A_RXPACKET_SIZE; i++)
{
pkt[i-8]=packet[i];
debug(" %02X",packet[i]);
}
debugln("");
telemetry_link=2;
return;
}