change the wrong syntax

This commit is contained in:
LeeChunHei 2021-02-22 22:26:00 +08:00
parent a40bf3b11d
commit 6f0b8a5b78
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ static rt_uint32_t spixfer(struct rt_spi_device *device, struct rt_spi_message *
if(RT_FALSE == spi->dma_flag)
{
#ifdef(BSP_USING_BLOCKING_SPI)
#ifdef BSP_USING_BLOCKING_SPI
status = LPSPI_MasterTransferBlocking(spi->base, &transfer);
#else
status = LPSPI_MasterTransferNonBlocking(spi->base, &spi->spi_normal, &transfer);