From d71046c139b30e877f669d5054969cce74b82740 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Thu, 29 Aug 2024 18:30:23 +0200 Subject: [PATCH] examples/nimble: fix example after update to latest master this example is broken since bc68d954a since https://github.com/apache/mynewt-nimble/commit/bf761837418da4cc1d55abb4be50b8308e7bf18a ble_hci_sock_init is called from nimble code, so we can't call it again in example code --- examples/nimble/nimble_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/nimble/nimble_main.c b/examples/nimble/nimble_main.c index c3864077d..bae871b7f 100644 --- a/examples/nimble/nimble_main.c +++ b/examples/nimble/nimble_main.c @@ -68,7 +68,6 @@ ****************************************************************************/ void ble_hci_sock_ack_handler(FAR void *param); -void ble_hci_sock_init(void); void ble_hci_sock_set_device(int dev); /**************************************************************************** @@ -270,7 +269,6 @@ int main(int argc, FAR char *argv[]) #endif nimble_port_init(); - ble_hci_sock_init(); /* Initialize services */