stm32h7/.../stm32h743i-eval/ext-mem-ctl.c: Add prototype

Fixed missing prototype for SystemInit_ExtMemCtl().  This file is
STM code and SystemInit_ExtMemCtl() is protyped for BSP use in
bsp.h. We do not want to include that in this file to avoid
potential conflicts.
This commit is contained in:
Joel Sherrill
2025-08-01 17:04:12 -05:00
committed by Gedare Bloom
parent 414181bf2c
commit 6b89dc82e9

View File

@@ -38,6 +38,10 @@
#define DATA_IN_ExtSRAM
#define DATA_IN_ExtSDRAM
#ifdef __rtems__
/* needs prototype and do not want to include <bsp.h> */
void SystemInit_ExtMemCtl(void);
#endif
void SystemInit_ExtMemCtl(void)
{