summaryrefslogtreecommitdiff
path: root/bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-19 11:28:45 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-20 17:57:55 +0200
commit120d70024bf0abfb4bd83416a90091199eb18669 (patch)
tree0cb6f04be839c562d4c01bfee367f92ea64258c3 /bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c
parent44c8a1777f4a3bd619676c16852cb8764369a8ec (diff)
bsp/stm32h7: Constify some functions
Update #3910.
Diffstat (limited to 'bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c')
-rw-r--r--bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c b/bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c
index 13dcc40d20..4026ecefce 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c
@@ -170,7 +170,7 @@
* the configuration information for the specified GPIO peripheral.
* @retval None
*/
-void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
+void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, const GPIO_InitTypeDef *GPIO_Init)
{
uint32_t position = 0x00U;
uint32_t iocurrent;