mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
arch/xtensa/src/esp32/esp32_spi.c: When the TX buffer is empty send
something to kick off the SPI clock.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
8e8f41faeb
commit
3560e16ac7
@@ -1052,7 +1052,7 @@ static void esp32_spi_poll_exchange(FAR struct esp32_spi_priv_s *priv,
|
||||
|
||||
for (i = 0 ; i < nwords; i++)
|
||||
{
|
||||
uint32_t w_wd = 0;
|
||||
uint32_t w_wd = 0xffff;
|
||||
uint32_t r_wd;
|
||||
|
||||
if (txbuffer)
|
||||
|
||||
Reference in New Issue
Block a user