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/bluenrg-hci/hci/hci.c
- Branch:
- e9fb3e390284c3f7ef8e1d21cc55deef7558ca3d
- Revision:
- 264:1e754a01869e
- Parent:
- 229:9981f62cdb1a
--- a/source/bluenrg-hci/hci/hci.c Thu Sep 15 10:51:17 2016 +0100 +++ b/source/bluenrg-hci/hci/hci.c Thu Sep 15 10:51:26 2016 +0100 @@ -179,9 +179,7 @@ hciReadPacket->data_len = data_len; if(HCI_verify(hciReadPacket) == 0) { list_insert_tail(&hciReadPktRxQueue, (tListNode *)hciReadPacket); -#ifdef AST_FOR_MBED_OS - Call_BTLE_Handler(); -#endif + signalEventsToProcess(); } else { list_insert_head(&hciReadPktPool, (tListNode *)hciReadPacket); #ifdef POOL_CNT @@ -199,9 +197,7 @@ } else{ // HCI Read Packet Pool is empty, wait for a free packet. -#ifdef AST_FOR_MBED_OS - Call_BTLE_Handler(); -#endif + signalEventsToProcess(); readPacketListFull = TRUE; Clear_SPI_EXTI_Flag(); return; @@ -1229,4 +1225,3 @@ return 0; } -