Skip to content
Commit 31cd3b1f authored by David Lamparter's avatar David Lamparter Committed by Fabio Baltieri
Browse files

drivers/spi: stm32: fix TX-only mode



When doing a TX-only SPI operation, the RX not empty flag will never get
set, thus this will just hang forever.

Found/tested on STM32L462 trying to drive some WS2812 RGB LEDs.

Signed-off-by: default avatarDavid Lamparter <equinox@diac24.net>
parent 00d8870a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment