Skip to content

Commit 3bd81d5

Browse files
committed
stm33cube: stm32h5xx: mdf Moves the cpp guard outside MDF1.
Fix the compilation error with cpp. IM-TechieScientist authored Signed-off-by: F. Ramu <[email protected]>
1 parent b6c5718 commit 3bd81d5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

stm32cube/stm32h5xx/README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,10 @@ Patch List:
7474
Impacted file:
7575
stm32cube/stm32h5xx/drivers/src/stm32h5xx_hal_sdio.c
7676

77+
*Fix CPP compilation error
78+
Moves the cpp guard outside MDF1.
79+
Impacted file:
80+
stm32cube/stm32h5xx/drivers/include/stm32h5xx_hal_mdf.h
81+
ST internal bug : HAL1-27445
82+
7783
See release_note.html from STM32Cube

stm32cube/stm32h5xx/drivers/include/stm32h5xx_hal_mdf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,10 +1150,10 @@ uint32_t HAL_MDF_GetError(const MDF_HandleTypeDef *hmdf);
11501150
* @}
11511151
*/
11521152

1153+
#endif /* MDF1 */
1154+
11531155
#ifdef __cplusplus
11541156
}
11551157
#endif
11561158

1157-
#endif /* MDF1 */
1158-
11591159
#endif /* STM32H5xx_HAL_MDF_H */

0 commit comments

Comments
 (0)