Skip to content

Commit c8bf6e8

Browse files
committed
[G4] Fix LL FMC build issue introduce in HAL version v1.1.1
Guard have been removed while they should not. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 52c6185 commit c8bf6e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_ll_fmc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
* @brief FMC driver modules
6565
* @{
6666
*/
67-
67+
#if defined (HAL_SRAM_MODULE_ENABLED) || defined(HAL_NOR_MODULE_ENABLED) || defined(HAL_NAND_MODULE_ENABLED)
6868
/* Private typedef -----------------------------------------------------------*/
6969
/* Private define ------------------------------------------------------------*/
7070

@@ -803,7 +803,7 @@ HAL_StatusTypeDef FMC_NAND_GetECC(FMC_NAND_TypeDef *Device, uint32_t *ECCval, ui
803803
/**
804804
* @}
805805
*/
806-
806+
#endif /* HAL_SRAM_MODULE_ENABLED || HAL_NOR_MODULE_ENABLED || HAL_NAND_MODULE_ENABLED */
807807
/**
808808
* @}
809809
*/

0 commit comments

Comments
 (0)