Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 785:c74f567162d4
- Parent:
- 778:04488024e560
- Child:
- 786:d6d7087d8377
--- 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)); } /**