Q2X2 protocol addition for Q222/Q242/Q282

Q2X2 protocol : 29
Sub-protocols:
- Q222 : 0
- Q242 : 1
- Q282 : 2
This commit is contained in:
pascallanger
2016-11-23 21:56:00 +01:00
parent 27b3a86155
commit c9de0b4cf2
5 changed files with 48 additions and 32 deletions

View File

@@ -761,6 +761,8 @@ static void protocol_init()
break;
#endif
#if defined(CX10_NRF24L01_INO)
case MODE_Q2X2:
sub_protocol|=0x08; // Increase the number of sub_protocols for CX-10
case MODE_CX10:
next_callback=initCX10();
remote_callback = CX10_callback;