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:
parent
138a351852
commit
18830991e1
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue