Skip to content

Commit

Permalink
FIXUP: header guards + extern C
Browse files Browse the repository at this point in the history
  • Loading branch information
LudwigKnuepfer committed Oct 30, 2014
1 parent 8dd3806 commit 50053ee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cpu/native/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
*/

#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H

#ifdef __cplusplus
extern "C" {
#endif

#ifdef MODULE_NATIVE_GPIO_VIRTUAL /* virtual */
#define GPIO_0_EN (1)
#define GPIO_1_EN (1)
Expand Down Expand Up @@ -112,3 +119,10 @@
#else /* no GPIO device */
#define GPIO_NUMOF (0)
#endif

#ifdef __cplusplus
}
#endif

#endif /* PERIPH_CONF_H */
/** @} */

0 comments on commit 50053ee

Please sign in to comment.