Fix clock selection used by the softdevice on NRF5 based targets.

pull/2305/head
Vincent Coubard 2016-07-28 22:47:59 +01:00
parent 1fb040861b
commit 17254e80d6
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