You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2025/03/13 13:05:16 UTC

(mynewt-nimble) 02/02: controller: add missing os/util.h include

This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 98cd77dc3e6dc55ff0d57260cc7f78e51b9c70e2
Author: Gerard Marull-Paretas <ge...@teslabs.com>
AuthorDate: Mon Mar 10 17:53:00 2025 +0100

    controller: add missing os/util.h include
    
    ble_ll_adv.c module uses ARRAY_SIZE, defined in os/util.h.
    
    Signed-off-by: Gerard Marull-Paretas <ge...@teslabs.com>
---
 nimble/controller/src/ble_ll_adv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/controller/src/ble_ll_adv.c b/nimble/controller/src/ble_ll_adv.c
index 401fe2747..84f6e789d 100644
--- a/nimble/controller/src/ble_ll_adv.c
+++ b/nimble/controller/src/ble_ll_adv.c
@@ -24,6 +24,7 @@
 #include <assert.h>
 #include "syscfg/syscfg.h"
 #include "os/os.h"
+#include "os/util.h"
 #include "ble/xcvr.h"
 #include "nimble/ble.h"
 #include "nimble/nimble_opt.h"