diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-19 17:55:43 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-19 17:55:43 +0100 |
commit | c1f247d0f23173c77a350324ddf0495ffb935860 (patch) | |
tree | 4074c12ff53bfe72620b8c5e5288440bf03b1ab5 /global.h | |
parent | 39145f6d1b8c57abe2bc0167b2b413970d0dfdb6 (diff) | |
download | rpi-MMU-example-c1f247d0f23173c77a350324ddf0495ffb935860.tar.gz rpi-MMU-example-c1f247d0f23173c77a350324ddf0495ffb935860.zip |
guard against multiple-inclusion of headers
Diffstat (limited to 'global.h')
-rw-r--r-- | global.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,6 @@ +#ifndef GLOBAL_H +#define GLOBAL_H + // board type, raspi2 #define RASPI 2 @@ -10,3 +13,5 @@ #define GPIO_BASE 0x20200000 #endif // RASPI == 3 || RASPI == 2 #endif // RASPI == 4 + +#endif // GLOBAL_H |