Skip to content
Commit 6bdd63fe authored by Gerson Fernando Budke's avatar Gerson Fernando Budke Committed by Fabio Baltieri
Browse files

drivers: serial: sam0: Fix rx ready



The uart_sam0_irg_rx_ready() function always returns true, even if
interrupt is disabled. This happens because the function do not
evaluate if the interrupt is enable of not. This fixes the issue
by adding the missing check.

Signed-off-by: default avatarGerson Fernando Budke <nandojve@gmail.com>
parent aa2a4392
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment