Fixed OrangeTX compilation

This commit is contained in:
pascallanger
2016-09-21 14:45:17 +02:00
parent 449ad6cd0d
commit fbb7a684bf
3 changed files with 10 additions and 16 deletions

View File

@@ -96,7 +96,7 @@ void frsky_check_telemetry(uint8_t *pkt,uint8_t len)
if(pktt[6])
telemetry_counter=(telemetry_counter+1)%32;
//
#if defined FRSKYX_CC2500_INO
#if defined SPORT_TELEMETRY && defined FRSKYX_CC2500_INO
if (protocol==MODE_FRSKYX)
{
if ((pktt[5] >> 4 & 0x0f) == 0x08)