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:15 UTC
(mynewt-nimble) 01/02: porting: add missing os/os_cputime.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 64a5af6b664080070616b2d196672ae829021182
Author: Gerard Marull-Paretas <ge...@teslabs.com>
AuthorDate: Mon Mar 10 17:48:16 2025 +0100
porting: add missing os/os_cputime.h include
When building controller, `os_cputime_init` is called, however,
header where it is declared was not included.
Signed-off-by: Gerard Marull-Paretas <ge...@teslabs.com>
---
porting/nimble/src/nimble_port.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c
index c071da732..cfb288549 100644
--- a/porting/nimble/src/nimble_port.c
+++ b/porting/nimble/src/nimble_port.c
@@ -25,6 +25,7 @@
#include "nimble/transport.h"
#if NIMBLE_CFG_CONTROLLER
#include "controller/ble_ll.h"
+#include "os/os_cputime.h"
#endif
static struct ble_npl_eventq g_eventq_dflt;