modified locally to use with HRM1017
Fork of nRF51822 by
Diff: btle/btle.cpp
- Revision:
- 69:b4a3693da52b
- Parent:
- 68:936d81c963fe
--- a/btle/btle.cpp Fri Sep 26 14:46:19 2014 +0100 +++ b/btle/btle.cpp Thu Dec 04 12:50:37 2014 +0000 @@ -63,11 +63,11 @@ error_t btle_init(void) { const bool useScheduler = false; -#ifdef TARGET_HRM1017 +//#ifdef TARGET_HRM1017 SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, useScheduler); -#else - SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, useScheduler); -#endif +//#else +// SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, useScheduler); +//#endif // Enable BLE stack /**