Skip to content

Commit 6f0b8a5

Browse files
committed
change the wrong syntax
1 parent a40bf3b commit 6f0b8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/imxrt/libraries/drivers/drv_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ static rt_uint32_t spixfer(struct rt_spi_device *device, struct rt_spi_message *
347347

348348
if(RT_FALSE == spi->dma_flag)
349349
{
350-
#ifdef(BSP_USING_BLOCKING_SPI)
350+
#ifdef BSP_USING_BLOCKING_SPI
351351
status = LPSPI_MasterTransferBlocking(spi->base, &transfer);
352352
#else
353353
status = LPSPI_MasterTransferNonBlocking(spi->base, &spi->spi_normal, &transfer);

0 commit comments

Comments
 (0)