From cd77dd385068cb29ed6b86bbac26b7d2c5e24958 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 10 Jan 2017 11:41:40 +0100 Subject: [PATCH] hci: fix ios build --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index 6ef553df3..58d71143b 100644 --- a/src/hci.c +++ b/src/hci.c @@ -892,7 +892,7 @@ void le_handle_advertisement_report(uint8_t *packet, int size){ } #endif -#ifndef HAVE_HOST_CONTROLLER_API +#if !defined(HAVE_PLATFORM_IPHONE_OS) && !defined (HAVE_HOST_CONTROLLER_API) static uint32_t hci_transport_uart_get_main_baud_rate(void){ if (!hci_stack->config) return 0;