mbed library sources

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
todotani
Date:
Fri Sep 05 14:20:33 2014 +0000
Parent:
307:e2f2e83d7c41
Commit message:
BLE_Health_Thermometer for mbed HRM1017 with BLE library 0.1.0

Changed in this revision

targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51822.c Show annotated file Show diff for this revision Revisions of this file
diff -r e2f2e83d7c41 -r 59cc78a25982 targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51822.c
--- a/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51822.c	Fri Sep 05 10:30:06 2014 +0100
+++ b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51822.c	Fri Sep 05 14:20:33 2014 +0000
@@ -66,7 +66,7 @@
     }
 
     // Start the external 32khz crystal oscillator.
-    NRF_CLOCK->LFCLKSRC             = (CLOCK_LFCLKSRC_SRC_Xtal << CLOCK_LFCLKSRC_SRC_Pos);
+    NRF_CLOCK->LFCLKSRC             = (CLOCK_LFCLKSRC_SRC_RC << CLOCK_LFCLKSRC_SRC_Pos);
     NRF_CLOCK->EVENTS_LFCLKSTARTED  = 0;
     NRF_CLOCK->TASKS_LFCLKSTART     = 1;