cause M101/M103 to work with DC extruders

This commit is contained in:
Michael Moon 2010-11-24 09:37:01 +11:00
parent e94482c00c
commit d6644af18f
1 changed files with 6 additions and 2 deletions

View File

@ -174,7 +174,9 @@ void process_gcode_command() {
if (temp_achieved() == 0) {
enqueue(NULL);
}
#if E_STARTSTOP_STEPS > 0
#ifdef DC_EXTRUDER
heater_set(DC_EXTRUDER, DC_EXTRUDER_PWM);
#elif E_STARTSTOP_STEPS > 0
do {
// backup feedrate, move E very quickly then restore feedrate
backup_f = startpoint.F;
@ -189,7 +191,9 @@ void process_gcode_command() {
// M103- extruder off
case 103:
#if E_STARTSTOP_STEPS > 0
#ifdef DC_EXTRUDER
heater_set(DC_EXTRUDER, 0);
#elif E_STARTSTOP_STEPS > 0
do {
// backup feedrate, move E very quickly then restore feedrate
backup_f = startpoint.F;