Skip to content

Commit

Permalink
examples/nimble: fix example after update to latest master
Browse files Browse the repository at this point in the history
this example is broken since bc68d95

since apache/mynewt-nimble@bf76183
ble_hci_sock_init is called from nimble code, so we can't call it again in example code
  • Loading branch information
raiden00pl authored and xiaoxiang781216 committed Aug 30, 2024
1 parent 246d1d0 commit d71046c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/nimble/nimble_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/****************************************************************************
Expand Down Expand Up @@ -270,7 +269,6 @@ int main(int argc, FAR char *argv[])
#endif

nimble_port_init();
ble_hci_sock_init();

/* Initialize services */

Expand Down

0 comments on commit d71046c

Please sign in to comment.