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 // forward telemetry to TX, skip rx and tx id to save space
pkt[0]= TX_RSSI; pkt[0]= TX_RSSI;
debug("T=");
for(int i=9;i < AFHDS2A_RXPACKET_SIZE; i++) for(int i=9;i < AFHDS2A_RXPACKET_SIZE; i++)
{
pkt[i-8]=packet[i]; pkt[i-8]=packet[i];
debug(" %02X",packet[i]);
}
debugln("");
telemetry_link=2; telemetry_link=2;
return; return;
} }

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 2 #define VERSION_MINOR 2
#define VERSION_REVISION 1 #define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 38 #define VERSION_PATCH_LEVEL 39
//****************** //******************
// Protocols // Protocols