extruder: Get rid of _CONFIG_H, like on the mainboard config.
This commit is contained in:
parent
ad7f7f0e96
commit
d97a4519d3
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef _CONFIG_H
|
||||
#define _CONFIG_H
|
||||
/* Notice to developers: this file is intentionally included twice. */
|
||||
|
||||
/*
|
||||
CPU clock rate
|
||||
|
|
@ -94,5 +93,3 @@ DEFINE_HEATER(bed, AIO1)
|
|||
|
||||
#define enable_motors() do { TCCR0A |= MASK(COM0A1) | MASK(COM0B1); } while (0)
|
||||
#define disable_motors() do { TCCR0A &= ~MASK(COM0A1) & ~MASK(COM0B1); } while (0)
|
||||
|
||||
#endif /* _CONFIG_H */
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
#define disable_heater() heater_set(0, 0)
|
||||
|
||||
#undef DEFINE_HEATER
|
||||
#undef _CONFIG_H
|
||||
#define DEFINE_HEATER(name, pin) HEATER_ ## name,
|
||||
typedef enum
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 _CONFIG_H
|
||||
#define DEFINE_TEMP_SENSOR(name, type, pin) TEMP_SENSOR_ ## name,
|
||||
typedef enum {
|
||||
#include "config.h"
|
||||
|
|
|
|||
1
heater.h
1
heater.h
|
|
@ -9,7 +9,6 @@
|
|||
#define disable_heater() heater_set(0, 0)
|
||||
|
||||
#undef DEFINE_HEATER
|
||||
#undef _CONFIG_H
|
||||
#define DEFINE_HEATER(name, pin) HEATER_ ## name,
|
||||
typedef enum
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue