From ca3ed00d36b336805d0d89f4ad8dab4a0f0186bf Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Mon, 11 May 2015 14:29:32 +0100 Subject: [PATCH] fix value of UNIT_0_625_MS --- public/Gap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/Gap.h b/public/Gap.h index 994a17f..24e1e90 100644 --- a/public/Gap.h +++ b/public/Gap.h @@ -135,7 +135,7 @@ public: 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; }