From 6cdc2862f62fd67c1322d2a85045ea9f1926f9c8 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 22 Oct 2018 14:20:29 +0200 Subject: [PATCH] hci: fix compile without CLASSIC --- src/hci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hci.c b/src/hci.c index 975f930ca..325367b6f 100644 --- a/src/hci.c +++ b/src/hci.c @@ -3463,6 +3463,7 @@ static void hci_run(void){ return; } +#ifdef ENABLE_CLASSIC uint16_t sniff_min_interval; switch (connection->sniff_min_interval){ case 0: @@ -3477,6 +3478,7 @@ static void hci_run(void){ hci_send_cmd(&hci_sniff_mode, connection->con_handle, connection->sniff_max_interval, sniff_min_interval, connection->sniff_attempt, connection->sniff_timeout); break; } +#endif #ifdef ENABLE_BLE switch (connection->le_con_parameter_update_state){