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 92d770f commit fc9d3c0Copy full SHA for fc9d3c0
MAX/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
/* ************************************************************************** */
MAX/msdk_sha
@@ -1 +1 @@
1
-b0219d334e8b8ab3250885a7438975513cafa94d
+3bdf51490a750ab762b1fbe2430338f49751b686
0 commit comments