From d1f547feec4e6f5b82ce47a4989a5583600807e6 Mon Sep 17 00:00:00 2001 From: Mateusz Szafoni Date: Sun, 24 Mar 2019 08:32:04 -0600 Subject: [PATCH] arch/arm/src/stm32/stm32_pwm.c: Missing commas in initializers can break compilation in certain configurations. --- arch/arm/src/stm32/stm32_pwm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/stm32/stm32_pwm.c b/arch/arm/src/stm32/stm32_pwm.c index 4a2512e9f6..9761653c6d 100644 --- a/arch/arm/src/stm32/stm32_pwm.c +++ b/arch/arm/src/stm32/stm32_pwm.c @@ -663,7 +663,7 @@ static struct stm32_pwmchan_s g_pwm1channels[] = #ifdef CONFIG_STM32_TIM1_CHANNEL5 { .channel = 5, - .mode = CONFIG_STM32_TIM1_CH5MODE + .mode = CONFIG_STM32_TIM1_CH5MODE, #ifdef CONFIG_STM32_TIM1_CH5OUT .out1 = { @@ -678,7 +678,7 @@ static struct stm32_pwmchan_s g_pwm1channels[] = #ifdef CONFIG_STM32_TIM1_CHANNEL6 { .channel = 6, - .mode = CONFIG_STM32_TIM1_CH6MODE + .mode = CONFIG_STM32_TIM1_CH6MODE, #ifdef CONFIG_STM32_TIM1_CH6OUT .out1 = { @@ -1223,7 +1223,7 @@ static struct stm32_pwmchan_s g_pwm8channels[] = #ifdef CONFIG_STM32_TIM8_CHANNEL5 { .channel = 5, - .mode = CONFIG_STM32_TIM8_CH5MODE + .mode = CONFIG_STM32_TIM8_CH5MODE, #ifdef CONFIG_STM32_TIM8_CH5OUT .out1 = { @@ -1238,7 +1238,7 @@ static struct stm32_pwmchan_s g_pwm8channels[] = #ifdef CONFIG_STM32_TIM8_CHANNEL6 { .channel = 6, - .mode = CONFIG_STM32_TIM8_CH6MODE + .mode = CONFIG_STM32_TIM8_CH6MODE, #ifdef CONFIG_STM32_TIM8_CH6OUT .out1 = {