CC26xx: always request HF crystal oscillator at radio on()

This commit is contained in:
Atis Elsts 2016-06-29 01:32:22 +03:00
parent 5eb022fdd8
commit b6617f17c5
2 changed files with 0 additions and 7 deletions

View File

@ -1222,13 +1222,11 @@ on(void)
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
* use the FS. This will only request, it will _not_ perform the switch.
*/
oscillators_request_hf_xosc();
#endif
if(rf_is_on()) {
PRINTF("on: We were on. PD=%u, RX=0x%04x \n", rf_core_is_accessible(),

View File

@ -149,11 +149,6 @@ main(void)
/* Set the LF XOSC as the LF system clock source */
oscillators_select_lf_xosc();
#if CC2650_FAST_RADIO_STARTUP
/* Also request HF XOSC to start up */
oscillators_request_hf_xosc();
#endif
lpm_init();
board_init();