FrSky telemetry

This commit is contained in:
pascallanger 2017-02-03 22:02:35 +01:00
parent 877cdec4ea
commit 04bbe3187f
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 1 #define VERSION_MINOR 1
#define VERSION_REVISION 6 #define VERSION_REVISION 6
#define VERSION_PATCH_LEVEL 11 #define VERSION_PATCH_LEVEL 12
//****************** //******************
// Protocols // Protocols
//****************** //******************

View File

@ -575,7 +575,7 @@ void TelemetryUpdate()
RX_RSSI=pktt[4] & 0x7F ; RX_RSSI=pktt[4] & 0x7F ;
else else
RxBt = (pktt[4]<<1) + 1 ; RxBt = (pktt[4]<<1) + 1 ;
if(pktt[6]<=6) if(pktt[6] && pktt[6]<=6)
for (uint8_t i=0; i < pktt[6]; i++) for (uint8_t i=0; i < pktt[6]; i++)
proces_sport_data(pktt[7+i]); proces_sport_data(pktt[7+i]);
telemetry_link=0; telemetry_link=0;