Skip to content

Commit 1991cc8

Browse files
committed
Update Zephyr MSDK Hal based on MSDK PR: analogdevicesinc/msdk#1283
1 parent 7632cb1 commit 1991cc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MAX/Libraries/PeriphDrivers/Source/UART/uart_me16.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ int MXC_UART_SetClockSource(mxc_uart_regs_t *uart, mxc_uart_clock_t clock)
236236
{
237237
uint8_t retval = E_NO_ERROR;
238238

239-
if (MXC_UART_GET_IDX(uart) != 0 || MXC_UART_GET_IDX(uart) != 2) {
239+
if (MXC_UART_GET_IDX(uart) != 0 && MXC_UART_GET_IDX(uart) != 2) {
240240
return E_BAD_PARAM;
241241
}
242242

MAX/msdk_sha

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
98f390c9973b71c4066a2e35f7f598b8d8ba0f97
1+
9c8c1371a4ef8714f4cefa1ed01fa8085a8a0650

0 commit comments

Comments
 (0)