Skip to content

Commit 0dfa368

Browse files
jeromecoutantadbridge
authored andcommitted
STM32L4 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
1 parent b753262 commit 0dfa368

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_spi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,8 @@ typedef struct __SPI_HandleTypeDef
611611

612612
#define IS_SPI_CRC_POLYNOMIAL(POLYNOMIAL) (((POLYNOMIAL) >= 0x1U) && ((POLYNOMIAL) <= 0xFFFFU) && (((POLYNOMIAL)&0x1U) != 0U))
613613

614+
#define IS_SPI_DMA_HANDLE(HANDLE) ((HANDLE) != NULL)
615+
614616

615617
/**
616618
* @}

0 commit comments

Comments
 (0)