Merge pull request #2305 from pan-/fix_ble_clock_selection

Fix clock selection used by the softdevice on NRF5 based targets.
pull/2316/head
Martin Kojtal 2016-07-29 06:49:55 +01:00 committed by GitHub
commit b024163993
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@
#define DEFAULT_LFCLK_CONF_RC_CTIV 16 // Check temperature every 16 * 250ms.
#define DEFAULT_LFCLK_CONF_RC_TEMP_CTIV 1 // Only calibrate if temperature has changed.
#define NRF_LF_SRC_XTAL 2
#define NRF_LF_SRC_SYNTH 3
#define NRF_LF_SRC_RC 4
#if MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC == NRF_LF_SRC_RC
#define LFCLK_CONF_SOURCE NRF_CLOCK_LF_SRC_RC