Skip to content

Commit 3efeb24

Browse files
Yasin Ustunerkartben
authored andcommitted
drivers: serial: Change Tx Status macro for MAX32
TX status macro is different for MAX32650 SoC. The common macro is added to the hal. This commit changes the tx status macro with the common one. Signed-off-by: Yasin Ustuner <Yasin.Ustuner@analog.com>
1 parent fe06d54 commit 3efeb24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/serial/uart_max32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ static int api_irq_tx_ready(const struct device *dev)
376376
uint32_t inten = Wrap_MXC_UART_GetRegINTEN(cfg->regs);
377377

378378
return ((inten & (ADI_MAX32_UART_INT_TX | ADI_MAX32_UART_INT_TX_OEM)) &&
379-
!(data->status & MXC_F_UART_STATUS_TX_FULL));
379+
!(data->status & ADI_MAX32_UART_STATUS_TX_FULL));
380380
}
381381

382382
static int api_irq_tx_complete(const struct device *dev)

0 commit comments

Comments
 (0)