Merge pull request #1755 from atiselsts/bugfix/cc26xx/fast_startup

CC26xx: always request HF crystal oscillator at radio on()
This commit is contained in:
George Oikonomou 2016-06-29 23:51:04 +01:00 committed by GitHub
commit 66a2ecb19e
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();