mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Merge pull request #1755 from atiselsts/bugfix/cc26xx/fast_startup
CC26xx: always request HF crystal oscillator at radio on()
This commit is contained in:
commit
66a2ecb19e
@ -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(),
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user