diff --git a/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_adc.c b/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_adc.c index 295faa127..1fb8cdefd 100644 --- a/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_adc.c +++ b/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_adc.c @@ -947,6 +947,8 @@ void ADC_AnalogWatchdog3SingleChannelConfig(ADC_TypeDef* ADCx, uint8_t ADC_Chann */ void ADC_TempSensorCmd(ADC_TypeDef* ADCx, FunctionalState NewState) { + (void)(ADCx); + /* Check the parameters */ assert_param(IS_FUNCTIONAL_STATE(NewState)); @@ -1012,6 +1014,7 @@ void ADC_VrefintCmd(ADC_TypeDef* ADCx, FunctionalState NewState) */ void ADC_VbatCmd(ADC_TypeDef* ADCx, FunctionalState NewState) { + (void)ADCx; /* Check the parameters */ assert_param(IS_FUNCTIONAL_STATE(NewState)); diff --git a/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_hrtim.c b/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_hrtim.c index a618d8c08..591295dea 100644 --- a/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_hrtim.c +++ b/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_hrtim.c @@ -250,6 +250,7 @@ void HRTIM_SimpleBase_Init(HRTIM_TypeDef* HRTIMx, uint32_t TimerIdx, HRTIM_BaseI */ void HRTIM_DeInit(HRTIM_TypeDef* HRTIMx) { + (void)HRTIMx; /* Check the parameters */ RCC_APB2PeriphResetCmd(RCC_APB2Periph_HRTIM1, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_HRTIM1, DISABLE); @@ -633,6 +634,7 @@ void HRTIM_SimpleCaptureStart(HRTIM_TypeDef * HRTIMx, uint32_t TimerIdx, uint32_t CaptureChannel) { + (void)CaptureChannel; /* Enable the timer counter */ __HRTIM_ENABLE(HRTIMx, TimerIdxToTimerId[TimerIdx]); @@ -3211,6 +3213,7 @@ uint32_t HRTIM_WaveformGetOutputState(HRTIM_TypeDef * HRTIMx, uint32_t TimerIdx, uint32_t Output) { + (void)(TimerIdx); uint32_t output_bit = 0; uint32_t output_state = HRTIM_OUTPUTSTATE_IDLE; diff --git a/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_syscfg.c b/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_syscfg.c index c81e0236d..67a17f34c 100644 --- a/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_syscfg.c +++ b/lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_syscfg.c @@ -469,6 +469,7 @@ void SYSCFG_SRAMWRPEnable(uint32_t SYSCFG_SRAMWRP) */ FlagStatus SYSCFG_GetFlagStatus(uint32_t SYSCFG_Flag) { + (void)SYSCFG_Flag; FlagStatus bitstatus = RESET; /* Check the parameter */