Skip to content

Commit

Permalink
Update Zephyr MSDK Hal based on MSDK PR: analogdevicesinc/msdk#1223
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 17, 2024
1 parent 92d770f commit fc9d3c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion MAX/Libraries/PeriphDrivers/Source/GPIO/gpio_me14.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@ int MXC_GPIO_Config(const mxc_gpio_cfg_t *cfg)
return E_BAD_PARAM;
}

return E_NO_ERROR;
// Configure the drive strength
if (cfg->func == MXC_GPIO_FUNC_IN) {
return E_NO_ERROR;
} else {
return MXC_GPIO_SetDriveStrength(gpio, cfg->drvstr, cfg->mask);
}
}

/* ************************************************************************** */
Expand Down
2 changes: 1 addition & 1 deletion MAX/msdk_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b0219d334e8b8ab3250885a7438975513cafa94d
3bdf51490a750ab762b1fbe2430338f49751b686

0 comments on commit fc9d3c0

Please sign in to comment.