STMicroelectronics / STM32CubeF3

STM32Cube MCU Full Package for the STM32F3 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
141 stars 54 forks source link

unused parameter warnings #12

Closed T5100 closed 3 years ago

T5100 commented 3 years ago

there are some unused parameter warnings in the Driver code.

For example: in Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_ll_adc.h the function LL_ADC_DMA_GetRegAddr has a unused variable variable, if ADC_MULTIMODE_SUPPORT is undefined.

if defined(ADC_MULTIMODE_SUPPORT)

....

else

__STATIC_INLINE uint32_t LL_ADC_DMA_GetRegAddr(ADC_TypeDef ADCx, uint32_t Register) { / Retrieve address of register DR */ return (uint32_t)&(ADCx->DR); }

endif

RKOUSTM commented 3 years ago

Hi @T5100,

Thank you for contribution. It has been transferred to our development teams. We will be back to you as soon as we get an answer.

In order to accept and analyze this pull-request, please sign the Contribution License Agreement.

Thank you for you again for your contribution.

With regards

RKOUSTM commented 3 years ago

Hi @T5100,

Thank you for your contribution. The issue you pointed out has been confirmed, a fix will be made available in future release.

Thank you once again for your contribution.

With regards,

RKOUSTM commented 3 years ago

ST Internal Reference: 102614

RKOUSTM commented 3 years ago

Hi @T5100,

The fix you requested has been implemented and is now available in the frame of the latest STM32CubeF3 FW package V1.11.3 release.

This issue can be closed now. Thank you again for your contribution.

With regards,