mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-01-26 06:53:17 +00:00
Sync radio -> module
This commit is contained in:
@@ -63,6 +63,8 @@ void SHENQI_send_packet()
|
||||
}
|
||||
else
|
||||
{
|
||||
if(packet_count==1)
|
||||
telemetry_set_input_sync(3000+2508+6*1750);
|
||||
LT8900_SetAddress(rx_tx_addr,4);
|
||||
packet[1]=255-convert_channel_8b(RUDDER);
|
||||
packet[2]=255-convert_channel_16b_limit(THROTTLE,0x60,0xA0);
|
||||
@@ -91,7 +93,9 @@ void SHENQI_send_packet()
|
||||
uint16_t SHENQI_callback()
|
||||
{
|
||||
if(IS_BIND_DONE)
|
||||
{
|
||||
SHENQI_send_packet();
|
||||
}
|
||||
else
|
||||
{
|
||||
if( NRF24L01_ReadReg(NRF24L01_07_STATUS) & _BV(NRF24L01_07_RX_DR))
|
||||
|
||||
Reference in New Issue
Block a user