Skip to content

Commit fc9d3c0

Browse files
committed
Update Zephyr MSDK Hal based on MSDK PR: analogdevicesinc/msdk#1223
1 parent 92d770f commit fc9d3c0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

MAX/Libraries/PeriphDrivers/Source/GPIO/gpio_me14.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,12 @@ int MXC_GPIO_Config(const mxc_gpio_cfg_t *cfg)
133133
return E_BAD_PARAM;
134134
}
135135

136-
return E_NO_ERROR;
136+
// 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+
}
137142
}
138143

139144
/* ************************************************************************** */

MAX/msdk_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b0219d334e8b8ab3250885a7438975513cafa94d
1+
3bdf51490a750ab762b1fbe2430338f49751b686

0 commit comments

Comments
 (0)