fork microbit-dal

Dependencies:   BLE_API mbed-dev-bin nRF51822

Dependents:   microbit microbit

Fork of microbit-dal by Wendy Warne

Files at this revision

API Documentation at this revision

Comitter:
kenogami
Date:
Thu Aug 03 17:36:13 2017 +0000
Parent:
78:e4c9170fd9b9
Commit message:
commit change to library.

Changed in this revision

source/bluetooth/MicroBitBLEManager.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/source/bluetooth/MicroBitBLEManager.cpp	Wed Aug 02 00:23:30 2017 +0000
+++ b/source/bluetooth/MicroBitBLEManager.cpp	Thu Aug 03 17:36:13 2017 +0000
@@ -209,7 +209,7 @@
 #if (MICROBIT_BLE_ADVERTISING_TIMEOUT > 0)
     ble->gap().setAdvertisingTimeout(MICROBIT_BLE_ADVERTISING_TIMEOUT);
 #endif
-    ble-?gap().startAdvertising();
+    ble->gap().startAdvertising();
 }