extruder: Get rid of _CONFIG_H, like on the mainboard config.

This commit is contained in:
Markus Amsler 2011-04-07 03:29:17 +02:00
parent ad7f7f0e96
commit d97a4519d3
5 changed files with 1 additions and 8 deletions

View File

@ -1,5 +1,4 @@
#ifndef _CONFIG_H /* Notice to developers: this file is intentionally included twice. */
#define _CONFIG_H
/* /*
CPU clock rate CPU clock rate
@ -94,5 +93,3 @@ DEFINE_HEATER(bed, AIO1)
#define enable_motors() do { TCCR0A |= MASK(COM0A1) | MASK(COM0B1); } while (0) #define enable_motors() do { TCCR0A |= MASK(COM0A1) | MASK(COM0B1); } while (0)
#define disable_motors() do { TCCR0A &= ~MASK(COM0A1) & ~MASK(COM0B1); } while (0) #define disable_motors() do { TCCR0A &= ~MASK(COM0A1) & ~MASK(COM0B1); } while (0)
#endif /* _CONFIG_H */

View File

@ -9,7 +9,6 @@
#define disable_heater() heater_set(0, 0) #define disable_heater() heater_set(0, 0)
#undef DEFINE_HEATER #undef DEFINE_HEATER
#undef _CONFIG_H
#define DEFINE_HEATER(name, pin) HEATER_ ## name, #define DEFINE_HEATER(name, pin) HEATER_ ## name,
typedef enum typedef enum
{ {

View File

@ -13,7 +13,6 @@ we still need to specify which analog pins we use in machine.h for the analog se
*/ */
#undef DEFINE_TEMP_SENSOR #undef DEFINE_TEMP_SENSOR
#undef _CONFIG_H
#define DEFINE_TEMP_SENSOR(name, type, pin) TEMP_SENSOR_ ## name, #define DEFINE_TEMP_SENSOR(name, type, pin) TEMP_SENSOR_ ## name,
typedef enum { typedef enum {
#include "config.h" #include "config.h"

View File

@ -9,7 +9,6 @@
#define disable_heater() heater_set(0, 0) #define disable_heater() heater_set(0, 0)
#undef DEFINE_HEATER #undef DEFINE_HEATER
#undef _CONFIG_H
#define DEFINE_HEATER(name, pin) HEATER_ ## name, #define DEFINE_HEATER(name, pin) HEATER_ ## name,
typedef enum typedef enum
{ {

1
temp.h
View File

@ -13,7 +13,6 @@ we still need to specify which analog pins we use in machine.h for the analog se
*/ */
#undef DEFINE_TEMP_SENSOR #undef DEFINE_TEMP_SENSOR
#undef _CONFIG_H
#define DEFINE_TEMP_SENSOR(name, type, pin) TEMP_SENSOR_ ## name, #define DEFINE_TEMP_SENSOR(name, type, pin) TEMP_SENSOR_ ## name,
typedef enum { typedef enum {
#include "config.h" #include "config.h"