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 61:d0158c65d0d7, committed 2014-09-06
- Comitter:
- ytsuboi
- Date:
- Sat Sep 06 16:48:00 2014 +0000
- Parent:
- 60:e861f2041469
- Child:
- 62:a022be4c545d
- Commit message:
- add ifdef for HRM1017 to choose IRC on btle.cpp
Changed in this revision
btle/btle.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/btle/btle.cpp Tue Sep 02 17:01:18 2014 +0100 +++ b/btle/btle.cpp Sat Sep 06 16:48:00 2014 +0000 @@ -63,7 +63,11 @@ error_t btle_init(void) { const bool useScheduler = false; +#ifdef TARGET_HRM1017 + SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, false); +#else SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, useScheduler); +#endif // Enable BLE stack /**