drivers: serial: nrf: Fix is_pending handling
In order to check whether an interrupt is pending for the driver user,
the driver itself needs to verify what interrupt paths are enabled (RX
and or TX) so that as not to return true misleadingly.
Signed-off-by:
Carles Cufi <carles.cufi@nordicsemi.no>
Loading
Please sign in to comment