You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/08/28 21:48:15 UTC
[mynewt-core] branch master updated: nrf52;
fix build when no 32k defines are set.
This is an automated email from the ASF dual-hosted git repository.
marko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 0f1498f nrf52; fix build when no 32k defines are set.
0f1498f is described below
commit 0f1498f9606c31283ed95c55b24c33a8b5582ba1
Author: Marko Kiiskila <ma...@runtime.io>
AuthorDate: Mon Aug 28 14:44:54 2017 -0700
nrf52; fix build when no 32k defines are set.
---
hw/mcu/nordic/nrf52xxx/src/hal_system.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/mcu/nordic/nrf52xxx/src/hal_system.c b/hw/mcu/nordic/nrf52xxx/src/hal_system.c
index 43c1a2e..60b9793 100644
--- a/hw/mcu/nordic/nrf52xxx/src/hal_system.c
+++ b/hw/mcu/nordic/nrf52xxx/src/hal_system.c
@@ -67,7 +67,10 @@ hal_debugger_connected(void)
void
hal_system_clock_start(void)
{
+#if MYNEWT_VAL(XTAL_32768) || MYNEWT_VAL(XTAL_RC) || \
+ MYNEWT_VAL(XTAL_32768_SYNTH)
uint32_t mask;
+#endif
#if MYNEWT_VAL(XTAL_32768)
/* Check if this clock source is already running */
--
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" <co...@mynewt.apache.org>'].