arch/arm/src/stm32/stm32_pwm.c: Missing commas in initializers can break compilation in certain configurations.

This commit is contained in:
Mateusz Szafoni 2019-03-24 08:32:04 -06:00 committed by Gregory Nutt
parent 7883f0e6a4
commit d1f547feec

View File

@ -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 =
{