X_NUCLEO_IDB05A1
Dependencies: mbed-os-example-ble-Advertising
Diff: source/platform/stm32_bluenrg_ble.cpp
- Revision:
- 134:d2f8d5898d04
- Parent:
- 133:1bb8df697f7f
- Child:
- 136:83d24503e76a
--- 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