SimpleBLE example for mbed OS 5

Dependents:   SimpleBLE-Example-mbedos5

Fork of SimpleBLE by mbed-x

Files at this revision

API Documentation at this revision

Comitter:
janjongboom
Date:
Mon Aug 14 12:03:15 2017 +0000
Parent:
7:9573379273a6
Commit message:
Remove mbed-events

Changed in this revision

SimpleBLE.h Show annotated file Show diff for this revision Revisions of this file
mbed-events.lib Show diff for this revision Revisions of this file
diff -r 9573379273a6 -r 450b780bb1de SimpleBLE.h
--- a/SimpleBLE.h	Mon Oct 10 12:45:06 2016 +0200
+++ b/SimpleBLE.h	Mon Aug 14 12:03:15 2017 +0000
@@ -18,7 +18,6 @@
 #include <sstream>
 #include <vector>
 #include <map>
-#include <mbed-events/events.h>
 #include <mbed.h>
 #include "ble/BLE.h"
 
@@ -299,7 +298,7 @@
 
     void scheduleBleEventsProcessing(BLE::OnEventsToProcessCallbackContext* context) {
         BLE &ble = BLE::Instance();
-        eventQueue->post(Callback<void()>(&ble, &BLE::processEvents));
+        eventQueue->call(Callback<void()>(&ble, &BLE::processEvents));
     }
 
     // === START READONLY ===
diff -r 9573379273a6 -r 450b780bb1de mbed-events.lib
--- a/mbed-events.lib	Mon Oct 10 12:45:06 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://github.com/ARMmbed/mbed-events.git#6be60bf880c11a0beafcc2064bf467f8d897529a