drivers: serial: uart_sam0: Update to correct bitmask

Update uart_sam0_irq_tx_enable to use the correct INTENSET bitmask.

Signed-off-by: Ron Smith <rockyowl171@gmail.com>
This commit is contained in:
Ron Smith 2021-08-29 20:24:06 -04:00 committed by Carles Cufí
parent 138a351852
commit 18830991e1

View file

@ -740,7 +740,7 @@ static void uart_sam0_irq_tx_enable(const struct device *dev)
{
SercomUsart * const regs = DEV_CFG(dev)->regs;
regs->INTENSET.reg = SERCOM_USART_INTENCLR_DRE;
regs->INTENSET.reg = SERCOM_USART_INTENSET_DRE;
}
static void uart_sam0_irq_tx_disable(const struct device *dev)