Skip to content
Permalink
Browse files

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>
  • Loading branch information...
yboutreux authored and galak committed Jul 4, 2019
1 parent 13ceab4 commit ebcd6506fa5d23cb7ed7594db813855d1f653be5
Showing with 2 additions and 1 deletion.
  1. +2 −1 drivers/spi/spi_ll_stm32.c
@@ -139,7 +139,8 @@ static void spi_stm32_shift_s(SPI_TypeDef *spi, struct spi_stm32_data *data)
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;

if (SPI_WORD_SIZE_GET(data->ctx.config->operation) == 8) {

0 comments on commit ebcd650

Please sign in to comment.
You can’t perform that action at this time.