From d97b56559a58b52cba25e70560457542a5ea6dfd Mon Sep 17 00:00:00 2001 From: Sadik Ozer Date: Tue, 11 Jun 2024 13:24:27 +0300 Subject: [PATCH] MAX32657: Does not support VSEL selection Signed-off-by: Sadik Ozer --- Libraries/PeriphDrivers/Source/GPIO/gpio_me30.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Libraries/PeriphDrivers/Source/GPIO/gpio_me30.c b/Libraries/PeriphDrivers/Source/GPIO/gpio_me30.c index bddc113d0b0..eaa9e279c6d 100644 --- a/Libraries/PeriphDrivers/Source/GPIO/gpio_me30.c +++ b/Libraries/PeriphDrivers/Source/GPIO/gpio_me30.c @@ -87,12 +87,6 @@ int MXC_GPIO_Config(const mxc_gpio_cfg_t *cfg) return E_NO_ERROR; } - // Configure the vssel - error = MXC_GPIO_SetVSSEL(gpio, cfg->vssel, cfg->mask); - if (error != E_NO_ERROR) { - return error; - } - // Configure alternate function error = MXC_GPIO_RevA_SetAF((mxc_gpio_reva_regs_t *)gpio, cfg->func, cfg->mask); if (error != E_NO_ERROR) { @@ -224,7 +218,7 @@ uint32_t MXC_GPIO_GetFlags(mxc_gpio_regs_t *port) /* ************************************************************************** */ int MXC_GPIO_SetVSSEL(mxc_gpio_regs_t *port, mxc_gpio_vssel_t vssel, uint32_t mask) { - return MXC_GPIO_RevA_SetVSSEL((mxc_gpio_reva_regs_t *)port, vssel, mask); + return E_NOT_SUPPORTED; } /* ************************************************************************** */