From e688e8b7886cb1f407a38407ce5dcb331a847d66 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Wed, 2 Mar 2011 00:41:29 +0100 Subject: [PATCH] Consequences of the stepping extruder now being optional. --- config.gen3.h | 2 +- config.gen6.h | 2 +- config.h.dist | 2 +- config.ramps.h | 2 +- pinio.h | 6 +----- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/config.gen3.h b/config.gen3.h index ce6e48a..86b1dbc 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -368,7 +368,7 @@ DEFINE_TEMP_SENSOR(noheater, TT_INTERCOM, 0) /* DC extruder - If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name + If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name. You probably also want to comment out E_STEP_PIN and E_DIR_PIN in the Pinouts section above */ // #define DC_EXTRUDER HEATER_motor // #define DC_EXTRUDER_PWM 180 diff --git a/config.gen6.h b/config.gen6.h index a2c1a9b..9b799ae 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -359,7 +359,7 @@ DEFINE_HEATER(extruder, PORTD, PIND6, OCR2B) /* DC extruder - If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name + If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name. You probably also want to comment out E_STEP_PIN and E_DIR_PIN in the Pinouts section above */ // #define DC_EXTRUDER HEATER_motor // #define DC_EXTRUDER_PWM 180 diff --git a/config.h.dist b/config.h.dist index ed184af..5c9f44a 100644 --- a/config.h.dist +++ b/config.h.dist @@ -391,7 +391,7 @@ DEFINE_HEATER(bed, PORTB, PINB4, OCR0B) /* DC extruder - If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name + If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name. You probably also want to comment out E_STEP_PIN and E_DIR_PIN in the Pinouts section above */ // #define DC_EXTRUDER HEATER_motor // #define DC_EXTRUDER_PWM 180 diff --git a/config.ramps.h b/config.ramps.h index cafff16..92114b5 100644 --- a/config.ramps.h +++ b/config.ramps.h @@ -370,7 +370,7 @@ DEFINE_HEATER(fan, PORTH, PINH6, OCR2B) /* DC extruder - If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name + If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name. You probably also want to comment out E_STEP_PIN and E_DIR_PIN in the Pinouts section above */ // #define DC_EXTRUDER HEATER_motor // #define DC_EXTRUDER_PWM 180 diff --git a/pinio.h b/pinio.h index 3f0691e..5598089 100644 --- a/pinio.h +++ b/pinio.h @@ -150,11 +150,7 @@ End Step - All Steppers (so we don't have to delay in interrupt context) */ -#ifndef DC_EXTRUDER - #define unstep() do { _x_step(0); _y_step(0); _z_step(0); _e_step(0); } while (0) -#else - #define unstep() do { _x_step(0); _y_step(0); _z_step(0); } while (0) -#endif +#define unstep() do { _x_step(0); _y_step(0); _z_step(0); _e_step(0); } while (0) /* Stepper Enable Pins