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
- Revision:
- 133:1bb8df697f7f
- Parent:
- 132:51056160fa4a
- Child:
- 135:f0b6cf8ac4fc
--- a/source/bluenrg-hci/hci/hci.c Wed Oct 07 08:39:04 2015 +0200 +++ b/source/bluenrg-hci/hci/hci.c Wed Oct 07 09:08:22 2015 +0200 @@ -22,6 +22,7 @@ #include "hal.h" #include "hci_const.h" #include "gp_timer.h" +#include "debug.h" #include "stm32_bluenrg_ble.h" @@ -156,11 +157,17 @@ // HCI Read Packet Pool is empty, wait for a free packet. readPacketListFull = TRUE; Clear_SPI_EXTI_Flag(); - return; + goto get_out; } Clear_SPI_EXTI_Flag(); } + + get_out: +#ifdef YOTTA_CFG + Call_BTLE_Handler(); +#endif + return; } void hci_write(const void* data1, const void* data2, uint8_t n_bytes1, uint8_t n_bytes2){