Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/platform/stm32_bluenrg_ble.cpp
- Revision:
- 134:d2f8d5898d04
- Parent:
- 133:1bb8df697f7f
- Child:
- 136:83d24503e76a
diff -r 1bb8df697f7f -r d2f8d5898d04 source/platform/stm32_bluenrg_ble.cpp
--- a/source/platform/stm32_bluenrg_ble.cpp	Wed Oct 07 09:08:22 2015 +0200
+++ b/source/platform/stm32_bluenrg_ble.cpp	Wed Oct 07 14:34:24 2015 +0200
@@ -184,7 +184,10 @@
  */
 void Call_BTLE_Handler(void)
 {
-	minar::Scheduler::postCallback(btle_handler);
+	if(!btle_handler_pending) {
+		btle_handler_pending = 1;
+		minar::Scheduler::postCallback(btle_handler);
+	}
 }
 #endif
 
    