diff options
Diffstat (limited to 'os/common/startup/ARMCMx/compilers/GCC/crt1.c')
-rw-r--r-- | os/common/startup/ARMCMx/compilers/GCC/crt1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/common/startup/ARMCMx/compilers/GCC/crt1.c b/os/common/startup/ARMCMx/compilers/GCC/crt1.c index c47214e39..6a674efc4 100644 --- a/os/common/startup/ARMCMx/compilers/GCC/crt1.c +++ b/os/common/startup/ARMCMx/compilers/GCC/crt1.c @@ -193,9 +193,9 @@ void __default_exit(void) { * @brief Performs the initialization of the various RAM areas.
*/
void __init_ram_areas(void) {
+#if CRT1_AREAS_NUMBER > 0
const ram_init_area_t *rap = ram_areas;
-#if CRT1_AREAS_NUMBER > 0
do {
uint32_t *tp = rap->init_text_area;
uint32_t *p = rap->init_area;
|