SFHSS channels mapping

This commit is contained in:
pascallanger
2017-02-01 17:50:55 +01:00
parent fd49c02e18
commit 4eb2d073ac
3 changed files with 45 additions and 17 deletions

View File

@@ -175,7 +175,7 @@ void frsky_check_telemetry(uint8_t *pkt,uint8_t len)
TX_LQI = pkt[len-1]&0x7F;
for (uint8_t i=3;i<len-2;i++)
pktt[i]=pkt[i]; // Buffer telemetry values to be sent
if(pktt[6]>0 && pktt[6]<=10)// && pktt[7] == telemetry_counter )
if(pktt[6]>0 && pktt[6]<=10) // && (pktt[7]&0x1F) == telemetry_counter )
telemetry_counter=(telemetry_counter+1)%32; // Request next telemetry frame
else
pktt[6]=0; // Discard packet