Insert Debug DRYRUN Repetier Host compatible

This commit is contained in:
MagoKimbra
2015-06-01 18:34:45 +02:00
parent 881146bc22
commit 76306f9073
4 changed files with 41 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;