bluetooth control motor

Dependents:   BLE_LED_IDB0XA1_demo MOTOR_BLE_V2 Motor_Ble_v1 Motor_Ble_v10223 ... more

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
134:d2f8d5898d04
Parent:
133:1bb8df697f7f
Child:
135:f0b6cf8ac4fc
diff -r 1bb8df697f7f -r d2f8d5898d04 source/platform/btle.cpp
--- a/source/platform/btle.cpp	Wed Oct 07 09:08:22 2015 +0200
+++ b/source/platform/btle.cpp	Wed Oct 07 14:34:24 2015 +0200
@@ -209,8 +209,11 @@
 */
 /**************************************************************************/
 #ifdef YOTTA_CFG
+int btle_handler_pending = 0;
+
 void btle_handler(void)
 {
+    btle_handler_pending = 0;
     HCI_Process();
 }
 #endif