Merge pull request #2221 from MagoKimbra/Dryrun

Insert Debug DRYRUN Repetier Host compatible
This commit is contained in:
AnHardt
2015-06-03 12:30:48 +02:00
3 changed files with 26 additions and 2 deletions

View File

@ -502,7 +502,7 @@ float junction_deviation = 0.1;
#ifdef PREVENT_DANGEROUS_EXTRUDE
if (de) {
if (degHotend(extruder) < extrude_min_temp) {
if (degHotend(extruder) < extrude_min_temp && !(marlin_debug_flags & DEBUG_DRYRUN)) {
position[E_AXIS] = target[E_AXIS]; // Behave as if the move really took place, but ignore E part
de = 0; // no difference
SERIAL_ECHO_START;