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:
parent
758893c275
commit
c61191d86d
|
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef _CONFIG_H
|
||||||
|
#define _CONFIG_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
CONTENTS
|
CONTENTS
|
||||||
|
|
||||||
|
|
@ -419,3 +422,5 @@ DEFINE_TEMP_SENSOR(noheater, TT_INTERCOM, 0)
|
||||||
* OCR5CL - PL5 - DIO44 *
|
* OCR5CL - PL5 - DIO44 *
|
||||||
* *
|
* *
|
||||||
\***************************************************************************/
|
\***************************************************************************/
|
||||||
|
|
||||||
|
#endif /* _CONFIG_H */
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef _CONFIG_H
|
||||||
|
#define _CONFIG_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Sample configuration file for the GEN6-Board sold by Camiel Gubbels.
|
Sample configuration file for the GEN6-Board sold by Camiel Gubbels.
|
||||||
http://www.reprap.org/wiki/Generation_6_Electronics
|
http://www.reprap.org/wiki/Generation_6_Electronics
|
||||||
|
|
@ -408,3 +411,5 @@ DEFINE_HEATER(extruder, PORTD, PIND6, OCR2B)
|
||||||
* OCR5CL - PL5 - DIO44 *
|
* OCR5CL - PL5 - DIO44 *
|
||||||
* *
|
* *
|
||||||
\***************************************************************************/
|
\***************************************************************************/
|
||||||
|
|
||||||
|
#endif /* _CONFIG_H */
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef _CONFIG_H
|
||||||
|
#define _CONFIG_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
CONTENTS
|
CONTENTS
|
||||||
|
|
||||||
|
|
@ -436,3 +439,5 @@ DEFINE_HEATER(bed, PORTB, PINB4, OCR0B)
|
||||||
* OCR5CL - PL5 - DIO44 *
|
* OCR5CL - PL5 - DIO44 *
|
||||||
* *
|
* *
|
||||||
\***************************************************************************/
|
\***************************************************************************/
|
||||||
|
|
||||||
|
#endif /* _CONFIG_H */
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef _CONFIG_H
|
||||||
|
#define _CONFIG_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
CONTENTS
|
CONTENTS
|
||||||
|
|
||||||
|
|
@ -422,3 +425,5 @@ DEFINE_HEATER(fan, PORTH, PINH6, OCR2B)
|
||||||
* OCR5CL - PL5 - DIO44 *
|
* OCR5CL - PL5 - DIO44 *
|
||||||
* *
|
* *
|
||||||
\***************************************************************************/
|
\***************************************************************************/
|
||||||
|
|
||||||
|
#endif /* _CONFIG_H */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue