Skip to content
Commit 36b0e26e authored by Ali Hozhabri's avatar Ali Hozhabri Committed by Fabio Baltieri
Browse files

drivers: bluetooth: hci: Restructure spi.c to handle different protocols



Update structure of spi.c to have a better and cleaner separation
between STMicroelectronics and Zephyr SPI protocol.

Introduce bt_spi_get_header to separate algorithms well for
header acquisition in different protocols.

Remove header acquisition from bt_spi_rx_thread to make it simpler.

Signed-off-by: default avatarAli Hozhabri <ali.hozhabri@st.com>
parent d9c4ce72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment