Merge pull request #885 from takafuminaka/patch-1

Fix in the system_nrf51822.c
pull/892/head
Martin Kojtal 2015-02-06 08:19:36 +00:00
commit 2763700e4b
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ void SystemInit(void)
// Start the external 32khz crystal oscillator.
#ifdef TARGET_DELTA_DFCM_NNN40 || TARGET_HRM1017
#if defined(TARGET_DELTA_DFCM_NNN40) || defined(TARGET_HRM1017)
NRF_CLOCK->LFCLKSRC = (CLOCK_LFCLKSRC_SRC_RC << CLOCK_LFCLKSRC_SRC_Pos);
#else
NRF_CLOCK->LFCLKSRC = (CLOCK_LFCLKSRC_SRC_Xtal << CLOCK_LFCLKSRC_SRC_Pos);