jgh

Dependents:   Migration

Fork of BLE_API by Bluetooth Low Energy

Revision:
785:c74f567162d4
Parent:
778:04488024e560
Child:
786:d6d7087d8377
diff -r 1e817a72a166 -r c74f567162d4 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(interval);
+        _advParams.setInterval(GapAdvertisingParams::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(interval));
     }
 
     /**