mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:28:15 +00:00
Update Multiprotocol.ino
This commit is contained in:
parent
410ce5cc4c
commit
c193d0b9dd
@ -1199,9 +1199,9 @@ static void protocol_init()
|
|||||||
modules_reset();
|
modules_reset();
|
||||||
|
|
||||||
uint8_t index=0;
|
uint8_t index=0;
|
||||||
#if defined(FRSKYX_CC2500_INO) && defined(EU_MODULE)
|
//#if defined(FRSKYX_CC2500_INO) && defined(MULTI_EU)
|
||||||
if( ! ( (protocol == PROTO_FRSKYX || protocol == PROTO_FRSKYX2) && sub_protocol < 2 ) )
|
// if( ! ( (protocol == PROTO_FRSKYX || protocol == PROTO_FRSKYX2) && sub_protocol < 2 ) )
|
||||||
#endif
|
//#endif
|
||||||
while(multi_protocols[index].protocol != 0xFF)
|
while(multi_protocols[index].protocol != 0xFF)
|
||||||
{
|
{
|
||||||
if(multi_protocols[index].protocol==protocol)
|
if(multi_protocols[index].protocol==protocol)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user