We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be12504 commit 67d4b0aCopy full SHA for 67d4b0a
Libraries/PeriphDrivers/Source/GPIO/gpio_me14.c
@@ -133,7 +133,12 @@ int MXC_GPIO_Config(const mxc_gpio_cfg_t *cfg)
133
return E_BAD_PARAM;
134
}
135
136
- return E_NO_ERROR;
+ // Configure the drive strength
137
+ if (cfg->func == MXC_GPIO_FUNC_IN) {
138
+ return E_NO_ERROR;
139
+ } else {
140
+ return MXC_GPIO_SetDriveStrength(gpio, cfg->drvstr, cfg->mask);
141
+ }
142
143
144
/* ************************************************************************** */
0 commit comments