drivers: spi: spi_ll_stm32: Long line cleanup
Split a long line remaining in the driver. Signed-off-by: Yaël Boutreux <yael.boutreux@st.com> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
This commit is contained in:
parent
13ceab4c3b
commit
ebcd6506fa
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ static void spi_stm32_shift_s(SPI_TypeDef *spi, struct spi_stm32_data *data)
|
||||||
LL_SPI_DisableIT_TXE(spi);
|
LL_SPI_DisableIT_TXE(spi);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (LL_SPI_IsActiveFlag_RXNE(spi) && spi_context_rx_buf_on(&data->ctx)) {
|
if (LL_SPI_IsActiveFlag_RXNE(spi) &&
|
||||||
|
spi_context_rx_buf_on(&data->ctx)) {
|
||||||
u16_t rx_frame;
|
u16_t rx_frame;
|
||||||
|
|
||||||
if (SPI_WORD_SIZE_GET(data->ctx.config->operation) == 8) {
|
if (SPI_WORD_SIZE_GET(data->ctx.config->operation) == 8) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue