From 120d70024bf0abfb4bd83416a90091199eb18669 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 19 Mar 2020 11:28:45 +0100 Subject: bsp/stm32h7: Constify some functions Update #3910. --- bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c') 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; -- cgit v1.2.3