You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ha...@apache.org on 2022/06/02 08:10:38 UTC
[mynewt-nimble] 07/07: drivers/nrf51: add missing include of os_cputime.h
This is an automated email from the ASF dual-hosted git repository.
hauke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 719bd3c435b728f07ce7aaffaf6cebbd9c659a46
Author: Hauke Petersen <ha...@fu-berlin.de>
AuthorDate: Tue May 10 08:22:22 2022 +0200
drivers/nrf51: add missing include of os_cputime.h
---
nimble/drivers/nrf51/src/ble_phy.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nimble/drivers/nrf51/src/ble_phy.c b/nimble/drivers/nrf51/src/ble_phy.c
index d3bc3c2e..a74252b5 100644
--- a/nimble/drivers/nrf51/src/ble_phy.c
+++ b/nimble/drivers/nrf51/src/ble_phy.c
@@ -22,6 +22,8 @@
#include <assert.h>
#include "syscfg/syscfg.h"
#include "os/os.h"
+/* Keep os_cputime explicitly to enable build on non-Mynewt platforms */
+#include "os/os_cputime.h"
#include "ble/xcvr.h"
#include "nimble/ble.h"
#include "nimble/nimble_opt.h"