From ff85335b71bcbd28a656ac61c12e8c96075a073e Mon Sep 17 00:00:00 2001 From: Matias Nitsche Date: Wed, 15 Apr 2020 18:47:15 -0300 Subject: [PATCH] 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 73dbe9a096..c1ea8da3d8 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, }