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>
This commit is contained in:
Yasin Ustuner 2025-02-07 16:52:28 +03:00 committed by Benjamin Cabé
commit 3efeb245a7

View file

@ -376,7 +376,7 @@ static int api_irq_tx_ready(const struct device *dev)
uint32_t inten = Wrap_MXC_UART_GetRegINTEN(cfg->regs);
return ((inten & (ADI_MAX32_UART_INT_TX | ADI_MAX32_UART_INT_TX_OEM)) &&
!(data->status & MXC_F_UART_STATUS_TX_FULL));
!(data->status & ADI_MAX32_UART_STATUS_TX_FULL));
}
static int api_irq_tx_complete(const struct device *dev)