mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-29 16:23:14 +00:00
Bind function on channel 16
Toggling channel 16 (-100%->+100%->-100%) will execute a bind only if the loaded protocol is an autobind protocol or autobind is set AND throttle is low (below -95%).
This commit is contained in:
@@ -265,6 +265,11 @@ enum MultiPacketTypes {
|
||||
#define INPUT_SIGNAL_on protocol_flags2 |= _BV(5)
|
||||
#define IS_INPUT_SIGNAL_on ( ( protocol_flags2 & _BV(5) ) !=0 )
|
||||
#define IS_INPUT_SIGNAL_off ( ( protocol_flags2 & _BV(5) ) ==0 )
|
||||
//CH16
|
||||
#define CH16_PREV_off protocol_flags2 &= ~_BV(6)
|
||||
#define CH16_PREV_on protocol_flags2 |= _BV(6)
|
||||
#define IS_CH16_PREV_on ( ( protocol_flags2 & _BV(6) ) !=0 )
|
||||
#define IS_CH16_PREV_off ( ( protocol_flags2 & _BV(6) ) ==0 )
|
||||
|
||||
//********************
|
||||
//*** Blink timing ***
|
||||
|
||||
Reference in New Issue
Block a user