adaptation for bkap

Fork of X_NUCLEO_IDB0XA1 by ST

Branch:
e9fb3e390284c3f7ef8e1d21cc55deef7558ca3d
Revision:
264:1e754a01869e
Parent:
253:9665a6f8bbdb
Child:
273:00205952d841
--- a/source/BlueNRGDevice.cpp	Thu Sep 15 10:51:17 2016 +0100
+++ b/source/BlueNRGDevice.cpp	Thu Sep 15 10:51:26 2016 +0100
@@ -229,9 +229,7 @@
 	bool must_return = false;
 
 	do {
-		BlueNRGGap::getInstance().Process();
-		
-		HCI_Process();
+        bluenrgDeviceInstance.processEvents();
 		
 		if(must_return) return;
 
@@ -469,3 +467,7 @@
 {
     irq_.enable_irq();
 }
+
+void BlueNRGDevice::processEvents() {
+    btle_handler();
+}
\ No newline at end of file