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 398:9d7666c2305f, committed 2015-05-13
- Comitter:
- rgrover1
- Date:
- Wed May 13 08:51:09 2015 +0100
- Parent:
- 397:9f5bfae7ea50
- Child:
- 399:1a69d53f00cc
- Commit message:
- Synchronized with git rev ca3ed00d
Author: Rohit Grover
fix value of UNIT_0_625_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
@@ -135,7 +135,7 @@
typedef uint8_t Passkey_t[PASSKEY_LEN]; /**< 6-digit passkey in ASCII ('0'-'9' digits only). */
static const uint16_t UNIT_1_25_MS = 1250; /**< Number of microseconds in 1.25 milliseconds. */
- static const uint16_t UNIT_0_625_MS = 650; /**< Number of microseconds in 0.625 milliseconds. */
+ static const uint16_t UNIT_0_625_MS = 625; /**< Number of microseconds in 0.625 milliseconds. */
static uint16_t MSEC_TO_GAP_DURATION_UNITS(uint32_t durationInMillis) {
return (durationInMillis * 1000) / UNIT_1_25_MS;
}
