Compilation fix for newer mbed-os
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/bluenrg-hci/hci/hci.c
- Revision:
- 135:f0b6cf8ac4fc
- Parent:
- 133:1bb8df697f7f
- Child:
- 137:5baea3b414d9
diff -r d2f8d5898d04 -r f0b6cf8ac4fc source/bluenrg-hci/hci/hci.c --- a/source/bluenrg-hci/hci/hci.c Wed Oct 07 14:34:24 2015 +0200 +++ b/source/bluenrg-hci/hci/hci.c Wed Oct 07 15:35:34 2015 +0200 @@ -27,9 +27,7 @@ #include "stm32_bluenrg_ble.h" #if BLE_CONFIG_DBG_ENABLE -#define PRINTF(...) printf(__VA_ARGS__) -#else -#define PRINTF(...) +#undef PRINTF #endif #define HCI_LOG_ON 0 @@ -164,7 +162,7 @@ } get_out: -#ifdef YOTTA_CFG +#ifdef YOTTA_CFG_MBED_OS Call_BTLE_Handler(); #endif return;