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 BLE_API by
Revision 399:1a69d53f00cc, committed 2015-05-13
- Comitter:
- rgrover1
- Date:
- Wed May 13 08:51:09 2015 +0100
- Parent:
- 398:9d7666c2305f
- Child:
- 400:868801af787c
- Commit message:
- Synchronized with git rev deac909a
Author: Rohit Grover
rename Gap::GAP_DURATION_UNITS_TO_MS to Gap::ADVERTISEMENT_DURATION_UNITS_TO_MS
Changed in this revision
| public/Gap.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/Gap.h Wed May 13 08:51:09 2015 +0100
+++ b/public/Gap.h Wed May 13 08:51:09 2015 +0100
@@ -142,7 +142,7 @@
static uint16_t MSEC_TO_ADVERTISEMENT_DURATION_UNITS(uint32_t durationInMillis) {
return (durationInMillis * 1000) / UNIT_0_625_MS;
}
- static uint16_t GAP_DURATION_UNITS_TO_MS(uint16_t gapUnits) {
+ static uint16_t ADVERTISEMENT_DURATION_UNITS_TO_MS(uint16_t gapUnits) {
return (gapUnits * UNIT_0_625_MS) / 1000;
}
