You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/24 18:38:55 UTC
[incubator-nuttx] 01/03: fix use of undefined
CONFIG_STM32L4_LPTIM1_CH1POL
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit ff85335b71bcbd28a656ac61c12e8c96075a073e
Author: Matias Nitsche <mn...@dc.uba.ar>
AuthorDate: Wed Apr 15 18:47:15 2020 -0300
fix use of undefined CONFIG_STM32L4_LPTIM1_CH1POL
---
arch/arm/src/stm32l4/stm32l4_pwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/stm32l4/stm32l4_pwm.c b/arch/arm/src/stm32l4/stm32l4_pwm.c
index 73dbe9a..c1ea8da 100644
--- a/arch/arm/src/stm32l4/stm32l4_pwm.c
+++ b/arch/arm/src/stm32l4/stm32l4_pwm.c
@@ -1318,7 +1318,7 @@ static struct stm32l4_pwmchan_s g_pwmlp1channels[] =
.out1 =
{
.in_use = 1,
- .pol = CONFIG_STM32L4_LPTIM1_CH1POL,
+ .pol = 0, /* REVISIT: Configure using CONFIG_STM32L4_LPTIM1_CH1POL, */
.idle = 0, /* No idle */
.pincfg = PWM_LPTIM1_CH1CFG,
}