Skip to content
Commit 58ab2526 authored by Johan Hedberg's avatar Johan Hedberg
Browse files

Bluetooth: Make UART draining logic consistent across drivers



There's no need to drain twice if NRF51_PM is enabled, the draining
shouldn't use rx_ready(), and it should happen after disabling
interrupts. Also rename uart.h to util.h to avoid conflicts with
include/uart.h and remove the left-over ISR prototype declaration.

Change-Id: Id38110dd38cf48edfe4a7b8e2e68cd358a9aa5ea
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 3a5eb1c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment