BLE <-> UART only char[8]

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
ghz2000
Date:
Thu Jun 19 11:59:47 2014 +0000
Parent:
31:c3ce6ee5d300
Commit message:
Change Oscillator for HRM1017

Changed in this revision

btle/btle.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r c3ce6ee5d300 -r e41a9f9103d1 btle/btle.cpp
--- a/btle/btle.cpp	Fri Jun 13 11:21:09 2014 +0100
+++ b/btle/btle.cpp	Thu Jun 19 11:59:47 2014 +0000
@@ -66,7 +66,8 @@
 error_t btle_init(void)
 {
     APP_TIMER_INIT(0, 8, 5, false);
-    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false);
+//  SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false);
+  SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, false);
 
     ASSERT_STATUS( softdevice_ble_evt_handler_set(btle_handler));
     ASSERT_STATUS( softdevice_sys_evt_handler_set(sys_evt_dispatch));