Skip to content
Commit 1b94666c authored by Steven Lemaire's avatar Steven Lemaire Committed by Carles Cufí
Browse files

drivers: serial: gecko: Avoid getting masked interrupts



The USART_IntGet() function seems to return masked interrupts in the
function uart_gecko_irq_tx_ready() where it should return only
non-masked interrupts. Using USART_IntGetEnabled() fixes this issue.

This issue was discovered when using the mcumgr UART backend in the
uart_mcumgr_isr() function.

Signed-off-by: default avatarSteven Lemaire <steven.lemaire@zii.aero>
parent 4e4d008c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment