From fc9d3c031696c544e887346c7f249e6bc5ed1eff Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 17 Oct 2024 18:53:30 +0000 Subject: [PATCH] Update Zephyr MSDK Hal based on MSDK PR: https://github.com/analogdevicesinc/msdk/pull/1223 --- MAX/Libraries/PeriphDrivers/Source/GPIO/gpio_me14.c | 7 ++++++- MAX/msdk_sha | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/MAX/Libraries/PeriphDrivers/Source/GPIO/gpio_me14.c b/MAX/Libraries/PeriphDrivers/Source/GPIO/gpio_me14.c index 8caa986..38e489f 100644 --- a/MAX/Libraries/PeriphDrivers/Source/GPIO/gpio_me14.c +++ b/MAX/Libraries/PeriphDrivers/Source/GPIO/gpio_me14.c @@ -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); + } } /* ************************************************************************** */ diff --git a/MAX/msdk_sha b/MAX/msdk_sha index 579de0d..2d797e0 100644 --- a/MAX/msdk_sha +++ b/MAX/msdk_sha @@ -1 +1 @@ -b0219d334e8b8ab3250885a7438975513cafa94d +3bdf51490a750ab762b1fbe2430338f49751b686