Skip to content
Commit 3704e8b8 authored by Yaël Boutreux's avatar Yaël Boutreux Committed by Anas Nashif
Browse files

drivers: bluetooth: hci: spi: Handle when the buffer is empty



Check if the buffer size is not empty before spi transceive and buffer's
data processing. This fixes the need to slow down MCUs to 16MHz when
using BlueNRG-MS chips.
Tested samples : Beacon, Central, Peripheral

Signed-off-by: default avatarYaël Boutreux <yael.boutreux@st.com>
Signed-off-by: default avatarArnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent d44f6317
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment