Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
diff -r 936d81c963fe -r b4a3693da52b btle/btle.cpp --- 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 /**
diff -r 936d81c963fe -r b4a3693da52b projectconfig.h --- 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