Skip to content

Commit 5cfa031

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 <[email protected]>
1 parent d35ac42 commit 5cfa031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: system/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_ll_fmc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
* @brief FMC driver modules
6464
* @{
6565
*/
66-
66+
#if defined (HAL_SRAM_MODULE_ENABLED) || defined(HAL_NOR_MODULE_ENABLED) || defined(HAL_NAND_MODULE_ENABLED)
6767
/* Private typedef -----------------------------------------------------------*/
6868
/* Private define ------------------------------------------------------------*/
6969

@@ -766,7 +766,7 @@ HAL_StatusTypeDef FMC_NAND_GetECC(FMC_NAND_TypeDef *Device, uint32_t *ECCval, ui
766766
/**
767767
* @}
768768
*/
769-
769+
#endif /* HAL_SRAM_MODULE_ENABLED || HAL_NOR_MODULE_ENABLED || HAL_NAND_MODULE_ENABLED */
770770
/**
771771
* @}
772772
*/

0 commit comments

Comments
 (0)