Skip to content

Commit d209903

Browse files
committed
add include guard for SDRAM.h
1 parent 29b84df commit d209903

File tree

1 file changed

+5
-1
lines changed
  • libraries/Portenta_SDRAM/src

1 file changed

+5
-1
lines changed

libraries/Portenta_SDRAM/src/SDRAM.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef __SDRAM_H
2+
#define __SDRAM_H
3+
14
#include "ea_malloc.h"
25

36
#ifdef __cplusplus
@@ -35,4 +38,5 @@ class SDRAMClass {
3538

3639
extern SDRAMClass SDRAM;
3740

38-
#endif
41+
#endif
42+
#endif // __SDRAM_H

0 commit comments

Comments
 (0)