-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Describe the bug
Compiler warnings are generated when "Compiler warnings: All" is enabled.
In file included from /home/zak/.arduino15/packages/STMicroelectronics/hardware/stm32/2.0.0/libraries/SrcWrapper/src/LL/stm32yyxx_ll_adc.c:35:
/home/zak/.arduino15/packages/STMicroelectronics/hardware/stm32/2.0.0/system/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_adc.c: In function 'LL_ADC_CommonDeInit':
/home/zak/.arduino15/packages/STMicroelectronics/hardware/stm32/2.0.0/system/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_adc.c:310:53: warning: unused parameter 'ADCxy_COMMON' [-Wunused-parameter]
310 | ErrorStatus LL_ADC_CommonDeInit(ADC_Common_TypeDef *ADCxy_COMMON)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /home/zak/.arduino15/packages/STMicroelectronics/hardware/stm32/2.0.0/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rng.c:23:
/home/zak/.arduino15/packages/STMicroelectronics/hardware/stm32/2.0.0/system/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_rng.c: In function 'LL_RNG_DeInit':
/home/zak/.arduino15/packages/STMicroelectronics/hardware/stm32/2.0.0/system/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_rng.c:87:40: warning: unused parameter 'RNGx' [-Wunused-parameter]
87 | ErrorStatus LL_RNG_DeInit(RNG_TypeDef *RNGx)
| ~~~~~~~~~~~~~^~~~
To Reproduce
Observed when using the standard Servo.h
library.
Steps to reproduce the behavior:
- Select an example sketch from the Servo library
- Select "Compiler warnings: All" from the Arduino IDE preferences window.
- Attempt to compile the selected example
- See warnings
Expected behavior
No warnings should be generated from the board support library.
Desktop (please complete the following information):
- OS: Pop_OS! 20.04
- Arduino IDE version: v1.8.13
- STM32 core version: v2.0.0
- Upload method: N/A
Board (please complete the following information):
- Name: Generic STM32L4 series
- Hardware Revision:
- Extra hardware used if any:
Additional context
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on