We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e099bc commit 5ade6bcCopy full SHA for 5ade6bc
1 file changed
Multiprotocol/WPL_nrf24l01.ino
@@ -50,7 +50,7 @@ static void __attribute__((unused)) WPL_send_packet()
50
packet[4 ] = convert_channel_s8b(CH2); // Steering
51
packet[5 ] = convert_channel_16b_limit(CH3,0x22,0x5E); // Steering trim
52
packet[6 ] = rx_tx_addr[3]; // 0x32??
53
- packet[7 ] = 0x80; //convert_channel_s8b(CH4); // Aux
+ packet[7 ] = convert_channel_s8b(CH4); // Aux
54
packet[9 ] = 0x80 // ?? Bound
55
| GET_FLAG(CH5_SW, 0x08) // Headlights 100%=on
56
| GET_FLAG(CH6_SW, 0x04) // Throttle rate 100%=high
@@ -96,7 +96,10 @@ uint16_t WPL_callback()
96
#endif
97
if(bind_counter)
98
if(--bind_counter==0)
99
+ {
100
BIND_DONE;
101
+ XN297_SetTXAddr(rx_tx_addr, 5);
102
+ }
103
WPL_send_packet();
104
return WPL_PACKET_PERIOD;
105
}
0 commit comments