Commit 7c5f7609 authored by F. Ramu's avatar F. Ramu Committed by Erwan Gouriou
Browse files

stm32Cube: stm32h5 LL DelayBlock driver if instance exists

Include the stm32H5 HAL DLYB driver only if instance
SDMMC or OCTOSPI exist in the stm32H5 soc (not on stm32h50x)

Signed-off-by: default avatarF. Ramu <francois.ramu@st.com>
parent e3f9346e
Loading
Loading
Loading
Loading
+2 −2
Changes for stm32cube/stm32h5xx/drivers/include/stm32h5xx_ll_dlyb.h: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ extern "C" {
  * @{
  */

#if defined(HAL_SD_MODULE_ENABLED) || defined(HAL_OSPI_MODULE_ENABLED) || defined(HAL_XSPI_MODULE_ENABLED)
#if defined(DLYB_SDMMC1) || defined(DLYB_SDMMC2) || defined(DLYB_OCTOSPI1) || defined(DLYB_OCTOSPI2)

/* Exported types ------------------------------------------------------------*/
/** @defgroup DLYB_LL DLYB
@@ -128,7 +128,7 @@ uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_c
  * @}
  */

#endif /* HAL_SD_MODULE_ENABLED || HAL_OSPI_MODULE_ENABLED || HAL_XSPI_MODULE_ENABLED */
#endif /* DLYB_SDMMC1 || DLYB_SDMMC2 || DLYB_OCTOSPI1 || DLYB_OCTOSPI2 */

/**
  * @}