BLE_API for nRF51

Fork of BLE_API by Bluetooth Low Energy

Revision:
786:d6d7087d8377
Parent:
785:c74f567162d4
Child:
800:3bf180b7a3a5
diff -r c74f567162d4 -r d6d7087d8377 ble/Gap.h
--- a/ble/Gap.h	Tue Aug 11 15:13:13 2015 +0100
+++ b/ble/Gap.h	Tue Aug 11 15:13:13 2015 +0100
@@ -465,7 +465,7 @@
         } else if (interval < getMinAdvertisingInterval()) {
             interval = getMinAdvertisingInterval();
         }
-        _advParams.setInterval(GapAdvertisingParams::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(interval));
+        _advParams.setInterval(interval);
     }
 
     /**