mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-09 22:48:12 +00:00
Fix Hopping_table[47]=0
This commit is contained in:
parent
6af35b5ec5
commit
f7448cc2e4
@ -93,7 +93,7 @@ void Frsky_init_hop(void)
|
||||
val=channel;
|
||||
if((val==0x00) || (val==0x5A) || (val==0xDC))
|
||||
val++;
|
||||
hopping_frequency[i]=i>47?0:val;
|
||||
hopping_frequency[i]=i>46?0:val;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -291,7 +291,6 @@ uint16_t initFrSkyX()
|
||||
//rx_tx_addr[3]=0xB3;
|
||||
//rx_tx_addr[2]=0xFD;
|
||||
//************************
|
||||
hopping_frequency[47]=0;
|
||||
frskyX_init();
|
||||
CC2500_SetTxRxMode(TX_EN);
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user