Flysky: Fix AFHDS and AFHDS2A

This commit is contained in:
Pascal Langer 2020-10-03 10:52:11 +02:00
parent 2fae0a35b8
commit c98b8fc8bf
2 changed files with 8 additions and 5 deletions

View File

@ -373,10 +373,13 @@ void A7105_Init(void)
A7105_Regs=(uint8_t*)AFHDS2A_A7105_regs; A7105_Regs=(uint8_t*)AFHDS2A_A7105_regs;
#endif #endif
#ifdef KYOSHO_A7105_INO #ifdef KYOSHO_A7105_INO
if(protocol==PROTO_KYOSHO && sub_protocol==KYOSHO_FHSS) if(protocol==PROTO_KYOSHO)
A7105_Regs=(uint8_t*)KYOSHO_A7105_regs; {
else if(sub_protocol==KYOSHO_FHSS)
A7105_Regs=(uint8_t*)KYOSHO_HYPE_A7105_regs; A7105_Regs=(uint8_t*)KYOSHO_A7105_regs;
else
A7105_Regs=(uint8_t*)KYOSHO_HYPE_A7105_regs;
}
#endif #endif
} }

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_REVISION 1 #define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 74 #define VERSION_PATCH_LEVEL 75
//****************** //******************
// Protocols // Protocols