From deac909a331019ca4bb650cf7fb32c9e0046bc48 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Mon, 11 May 2015 14:31:09 +0100 Subject: [PATCH] rename Gap::GAP_DURATION_UNITS_TO_MS to Gap::ADVERTISEMENT_DURATION_UNITS_TO_MS --- public/Gap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/Gap.h b/public/Gap.h index 24e1e90..cadf071 100644 --- a/public/Gap.h +++ b/public/Gap.h @@ -142,7 +142,7 @@ public: 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; }