modified locally to use with HRM1017
Fork of nRF51822 by
Revision 69:b4a3693da52b, committed 2014-12-04
- Comitter:
- nobukuma
- Date:
- Thu Dec 04 12:50:37 2014 +0000
- Parent:
- 68:936d81c963fe
- Commit message:
- modified locally to use with HRM1017
Changed in this revision
btle/btle.cpp | Show annotated file Show diff for this revision Revisions of this file |
projectconfig.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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 /**
--- a/projectconfig.h Fri Sep 26 14:46:19 2014 +0100 +++ b/projectconfig.h Thu Dec 04 12:50:37 2014 +0000 @@ -28,6 +28,7 @@ #define CFG_MCU_STRING "nRF51822" /*=========================================================================*/ +#define TARGET_HRM1017 1 /*========================================================================= CODE BASE VERSION SETTINGS