Skip to content

Commit

Permalink
pkg/nimble: Run ble_ll_init
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Jan 4, 2025
1 parent 66beb24 commit 7213c85
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkg/nimble/patches/0006-ble_ll_init.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From e2e940c4e996c1c3da78948b08974a93aa69ddac Mon Sep 17 00:00:00 2001
From: chrysn <[email protected]>
Date: Sat, 4 Jan 2025 14:26:23 +0100
Subject: [PATCH] port: Call ble_ll_init

Forwarded: https://github.com/apache/mynewt-nimble/pull/1956

---
porting/nimble/src/nimble_port.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c
index bb26f22a..cd0cd004 100644
--- a/porting/nimble/src/nimble_port.c
+++ b/porting/nimble/src/nimble_port.c
@@ -31,10 +31,12 @@ static struct ble_npl_eventq g_eventq_dflt;

extern void os_msys_init(void);
extern void os_mempool_module_init(void);
+extern void ble_ll_init(void);

void
nimble_port_init(void)
{
+ ble_ll_init();
/* Initialize default event queue */
ble_npl_eventq_init(&g_eventq_dflt);
/* Initialize the global memory pool */
--
2.45.2

0 comments on commit 7213c85

Please sign in to comment.