Skip to content

Commit

Permalink
MAX32657: Does not support VSEL selection
Browse files Browse the repository at this point in the history
Signed-off-by: Sadik Ozer <[email protected]>
  • Loading branch information
ozersa committed Jun 14, 2024
1 parent 88754c6 commit d97b565
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Libraries/PeriphDrivers/Source/GPIO/gpio_me30.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}

/* ************************************************************************** */
Expand Down

0 comments on commit d97b565

Please sign in to comment.