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
Diff: public/Gap.h
- Revision:
- 399:1a69d53f00cc
- Parent:
- 398:9d7666c2305f
- Child:
- 401:2f90d20cfced
diff -r 9d7666c2305f -r 1a69d53f00cc public/Gap.h
--- 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;
}
