CC26xx: always request HF crystal oscillator at radio on()
This commit is contained in:
parent
5eb022fdd8
commit
b6617f17c5
|
@ -1222,13 +1222,11 @@ on(void)
|
||||||
return RF_CORE_CMD_OK;
|
return RF_CORE_CMD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !CC2650_FAST_RADIO_STARTUP
|
|
||||||
/*
|
/*
|
||||||
* Request the HF XOSC as the source for the HF clock. Needed before we can
|
* Request the HF XOSC as the source for the HF clock. Needed before we can
|
||||||
* use the FS. This will only request, it will _not_ perform the switch.
|
* use the FS. This will only request, it will _not_ perform the switch.
|
||||||
*/
|
*/
|
||||||
oscillators_request_hf_xosc();
|
oscillators_request_hf_xosc();
|
||||||
#endif
|
|
||||||
|
|
||||||
if(rf_is_on()) {
|
if(rf_is_on()) {
|
||||||
PRINTF("on: We were on. PD=%u, RX=0x%04x \n", rf_core_is_accessible(),
|
PRINTF("on: We were on. PD=%u, RX=0x%04x \n", rf_core_is_accessible(),
|
||||||
|
|
|
@ -149,11 +149,6 @@ main(void)
|
||||||
/* Set the LF XOSC as the LF system clock source */
|
/* Set the LF XOSC as the LF system clock source */
|
||||||
oscillators_select_lf_xosc();
|
oscillators_select_lf_xosc();
|
||||||
|
|
||||||
#if CC2650_FAST_RADIO_STARTUP
|
|
||||||
/* Also request HF XOSC to start up */
|
|
||||||
oscillators_request_hf_xosc();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
lpm_init();
|
lpm_init();
|
||||||
|
|
||||||
board_init();
|
board_init();
|
||||||
|
|
Loading…
Reference in a new issue