From b6617f17c5ef49be372d9eee2975536efd6082d6 Mon Sep 17 00:00:00 2001 From: Atis Elsts Date: Wed, 29 Jun 2016 01:32:22 +0300 Subject: [PATCH] CC26xx: always request HF crystal oscillator at radio on() --- cpu/cc26xx-cc13xx/rf-core/ieee-mode.c | 2 -- platform/srf06-cc26xx/contiki-main.c | 5 ----- 2 files changed, 7 deletions(-) diff --git a/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c b/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c index 08843d699..8f13eb3ee 100644 --- a/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c +++ b/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c @@ -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(), diff --git a/platform/srf06-cc26xx/contiki-main.c b/platform/srf06-cc26xx/contiki-main.c index b3f5c37f7..b3d64f24a 100644 --- a/platform/srf06-cc26xx/contiki-main.c +++ b/platform/srf06-cc26xx/contiki-main.c @@ -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();