mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-13 02:07:53 +00:00
Calibrate cc2500 PLL if sub-protocol is E010/Phoenix only
This commit is contained in:
parent
6257e25f56
commit
94a1aa8559
@ -428,6 +428,9 @@ static void __attribute__((unused)) MJXQ_init2()
|
||||
hopping_frequency[i]=pgm_read_byte_near( &E010_map_rfchan[rx_tx_addr[3]&0x0F][i] );
|
||||
hopping_frequency[i+2]=hopping_frequency[i]+0x10;
|
||||
}
|
||||
#ifdef CC2500_INSTALLED
|
||||
calibrate_pll();
|
||||
#endif
|
||||
break;
|
||||
case WLH08:
|
||||
// do nothing
|
||||
@ -475,9 +478,6 @@ uint16_t MJXQ_callback()
|
||||
if (bind_counter == 0)
|
||||
{
|
||||
MJXQ_init2();
|
||||
#ifdef CC2500_INSTALLED
|
||||
calibrate_pll();
|
||||
#endif
|
||||
BIND_DONE;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user