Skip to content

Commit b0975f7

Browse files
committed
add include guard for ram_internal.h
1 parent d209903 commit b0975f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: libraries/Portenta_SDRAM/src/ram_internal.h

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef __RAM_INTERNAL_H
2+
#define __RAM_INTERNAL_H
3+
14
bool sdram_init(void);
25

36
#define MPU_REGION_SDRAM1 (MPU_REGION_NUMBER4)
@@ -56,3 +59,5 @@ bool sdram_init(void);
5659
| (size) << MPU_RASR_SIZE_Pos \
5760
| MPU_REGION_ENABLE << MPU_RASR_ENABLE_Pos \
5861
)
62+
63+
#endif // __RAM_INTERNAL_H

0 commit comments

Comments
 (0)