abc
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; }