Config templates: protect config.h against multiple inclusion.

This is a small compile time saver and also mandatory for
patches later in the queue.
This commit is contained in:
Markus Hitter 2011-02-24 17:53:49 +01:00
parent 758893c275
commit c61191d86d
4 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#ifndef _CONFIG_H
#define _CONFIG_H
/*
CONTENTS
@ -419,3 +422,5 @@ DEFINE_TEMP_SENSOR(noheater, TT_INTERCOM, 0)
* OCR5CL - PL5 - DIO44 *
* *
\***************************************************************************/
#endif /* _CONFIG_H */

View File

@ -1,3 +1,6 @@
#ifndef _CONFIG_H
#define _CONFIG_H
/*
Sample configuration file for the GEN6-Board sold by Camiel Gubbels.
http://www.reprap.org/wiki/Generation_6_Electronics
@ -408,3 +411,5 @@ DEFINE_HEATER(extruder, PORTD, PIND6, OCR2B)
* OCR5CL - PL5 - DIO44 *
* *
\***************************************************************************/
#endif /* _CONFIG_H */

View File

@ -1,3 +1,6 @@
#ifndef _CONFIG_H
#define _CONFIG_H
/*
CONTENTS
@ -436,3 +439,5 @@ DEFINE_HEATER(bed, PORTB, PINB4, OCR0B)
* OCR5CL - PL5 - DIO44 *
* *
\***************************************************************************/
#endif /* _CONFIG_H */

View File

@ -1,3 +1,6 @@
#ifndef _CONFIG_H
#define _CONFIG_H
/*
CONTENTS
@ -422,3 +425,5 @@ DEFINE_HEATER(fan, PORTH, PINH6, OCR2B)
* OCR5CL - PL5 - DIO44 *
* *
\***************************************************************************/
#endif /* _CONFIG_H */