Closed bmcdonnell-npm closed 2 years ago
This pull request has been refused, the Contribution License Agreement must be signed.
Re your CLA, that seems like overkill for you to accept a one-line bugfix.
Other examples matching this PR:
me@pc MINGW64 /c/dev/others/ST/STM32CubeF1 (master)
$ git grep -w __LL_TIM_CALC_ARR
Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h: * @note ex: @ref __LL_TIM_CALC_ARR (1000000, @ref LL_TIM_GetPrescaler (), 10000);
Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h:#define __LL_TIM_CALC_ARR(__TIMCLK__, __PSC__, __FREQ__) \
Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h: * @note Helper macro @ref __LL_TIM_CALC_ARR can be used to calculate the AutoReload parameter
Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/main.c: LL_TIM_SetAutoReload(TIM1, __LL_TIM_CALC_ARR(SystemCoreClock, LL_TIM_GetPrescaler(TIM1), 10000*2));
Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/main.c: LL_TIM_SetAutoReload(TIM3, __LL_TIM_CALC_ARR(TimOutClock, LL_TIM_COUNTERMODE_UP, 17570));
Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/main.c: LL_TIM_SetAutoReload(TIM2, __LL_TIM_CALC_ARR(TimOutClock, LL_TIM_GetPrescaler(TIM2), aFrequency[0]));
Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/main.c: LL_TIM_SetAutoReload(TIM2, __LL_TIM_CALC_ARR(TimOutClock, LL_TIM_GetPrescaler(TIM2), Frequency));
Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/main.c: LL_TIM_SetAutoReload(TIM2, __LL_TIM_CALC_ARR(TimOutClock, LL_TIM_GetPrescaler(TIM2), 10));
Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/main.c: LL_TIM_SetAutoReload(TIM2, __LL_TIM_CALC_ARR(TimOutClock, LL_TIM_GetPrescaler(TIM2), 100));
Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/main.c: tim_initstruct.Autoreload = __LL_TIM_CALC_ARR(TimOutClock, tim_initstruct.Prescaler, 100);
Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/main.c: InitialAutoreload = __LL_TIM_CALC_ARR(TimOutClock, LL_TIM_GetPrescaler(TIM2), 10);
Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/main.c: LL_TIM_SetAutoReload(TIM2, __LL_TIM_CALC_ARR(SystemCoreClock/1, LL_TIM_GetPrescaler(TIM2), aFrequency[iFrequency]));
This PR changes a parameter passed to a macro to match other examples.