From 1991cc8a5f9495936db603374c007a8194a834d8 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 3 Dec 2024 18:17:35 +0000 Subject: [PATCH] Update Zephyr MSDK Hal based on MSDK PR: https://github.com/analogdevicesinc/msdk/pull/1283 --- MAX/Libraries/PeriphDrivers/Source/UART/uart_me16.c | 2 +- MAX/msdk_sha | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MAX/Libraries/PeriphDrivers/Source/UART/uart_me16.c b/MAX/Libraries/PeriphDrivers/Source/UART/uart_me16.c index 5d7e058..4894caf 100644 --- a/MAX/Libraries/PeriphDrivers/Source/UART/uart_me16.c +++ b/MAX/Libraries/PeriphDrivers/Source/UART/uart_me16.c @@ -236,7 +236,7 @@ int MXC_UART_SetClockSource(mxc_uart_regs_t *uart, mxc_uart_clock_t clock) { uint8_t retval = E_NO_ERROR; - if (MXC_UART_GET_IDX(uart) != 0 || MXC_UART_GET_IDX(uart) != 2) { + if (MXC_UART_GET_IDX(uart) != 0 && MXC_UART_GET_IDX(uart) != 2) { return E_BAD_PARAM; } diff --git a/MAX/msdk_sha b/MAX/msdk_sha index 5f8c78a..afa3992 100644 --- a/MAX/msdk_sha +++ b/MAX/msdk_sha @@ -1 +1 @@ -98f390c9973b71c4066a2e35f7f598b8d8ba0f97 +9c8c1371a4ef8714f4cefa1ed01fa8085a8a0650