You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by vi...@apache.org on 2017/10/11 21:51:16 UTC

[mynewt-core] branch master updated: fix nrf52dk build - soft_pwm should be conditional

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

vipulrahane 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 4faf4d6  fix nrf52dk build - soft_pwm should be conditional
4faf4d6 is described below

commit 4faf4d63bab4e223c751c0f38054c990afccf748
Author: Vipul Rahane <vi...@apache.org>
AuthorDate: Wed Oct 11 14:50:15 2017 -0700

    fix nrf52dk build - soft_pwm should be conditional
---
 hw/bsp/nrf52dk/src/hal_bsp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/bsp/nrf52dk/src/hal_bsp.c b/hw/bsp/nrf52dk/src/hal_bsp.c
index d6830fe..8b67945 100644
--- a/hw/bsp/nrf52dk/src/hal_bsp.c
+++ b/hw/bsp/nrf52dk/src/hal_bsp.c
@@ -46,7 +46,9 @@
 #if MYNEWT_VAL(PWM)
 #include <pwm_nrf52/pwm_nrf52.h>
 #endif
+#if MYNEWT_VAL(SOFT_PWM)
 #include <soft_pwm/soft_pwm.h>
+#endif
 
 #if MYNEWT_VAL(UART_0)
 static struct uart_dev os_bsp_uart0;

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" <co...@mynewt.apache.org>'].