Compilation fix for newer mbed-os
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/bluenrg-hci/hci/hci.c
- Revision:
- 138:32e3c4ca7a45
- Parent:
- 137:5baea3b414d9
- Child:
- 140:0cd922dca83c
--- a/source/bluenrg-hci/hci/hci.c Wed Oct 07 16:19:40 2015 +0200 +++ b/source/bluenrg-hci/hci/hci.c Thu Oct 08 07:29:43 2015 +0200 @@ -149,7 +149,7 @@ // Insert the packet back into the pool. list_insert_head(&hciReadPktPool, (tListNode *)hciReadPacket); } -#ifdef YOTTA_CFG_MBED_OS +#ifdef AST_FOR_MBED_OS Call_BTLE_Handler(); #endif } @@ -157,7 +157,7 @@ // HCI Read Packet Pool is empty, wait for a free packet. readPacketListFull = TRUE; Clear_SPI_EXTI_Flag(); -#ifdef YOTTA_CFG_MBED_OS +#ifdef AST_FOR_MBED_OS Call_BTLE_Handler(); #endif return;