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 authored and ttmut committed Oct 31, 2024
1 parent 61e2d2c commit b7a4fd5
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 @@
2e34472705532ace08eff8bfb6c5ab400daa5950
3bdf51490a750ab762b1fbe2430338f49751b686

0 comments on commit b7a4fd5

Please sign in to comment.