modify #if defined(TARGET_HRM1017) || defined(TARGET_DELTA_DFCM_NNN40) in system_nrf51822.c

pull/887/head
Marcomissyou 2015-02-06 11:34:08 +08:00
parent 2ffec3246f
commit 43081555a3
1 changed files with 1 additions and 1 deletions

View File

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