Flysky: typos...

This commit is contained in:
pascallanger 2016-11-30 07:55:07 +01:00
parent 2d90844239
commit 2dbf8ebb65
2 changed files with 4 additions and 4 deletions

View File

@ -220,9 +220,9 @@ void A7105_Init(void)
#ifdef FLYSKY_A7105_INO #ifdef FLYSKY_A7105_INO
if(protocol==MODE_FLYSKY && sub_protocol==CX20) if(protocol==MODE_FLYSKY && sub_protocol==CX20)
{ {
if(i==0x0E) val=0x01 if(i==0x0E) val=0x01;
if(i==0x1F) val=0x1F if(i==0x1F) val=0x1F;
if(i==0x20) val=0x1E if(i==0x20) val=0x1E;
} }
#endif #endif
if( val != 0xFF) if( val != 0xFF)

View File

@ -169,7 +169,7 @@ uint16_t ReadFlySky()
A7105_SetPower(); A7105_SetPower();
} }
if(sub_protocol=CX20) if(sub_protocol==CX20)
return 3984; return 3984;
else else
return 1510; //1460 on deviation but not working with the latest V911 bricks... Turnigy 9X v2 is 1533, Flysky TX for 9XR/9XR Pro is 1510, V911 TX is 1490. return 1510; //1460 on deviation but not working with the latest V911 bricks... Turnigy 9X v2 is 1533, Flysky TX for 9XR/9XR Pro is 1510, V911 TX is 1490.