ErikZalm/Marlin — pull request #1135 by jpralves (2014-11-06 16:08:26+00:00)
Title: V1.3.1 hephestos

It seems that the function lcd_sdcard_stop() - Called by the LCD "Stop Print" function - in file ultralcd.cpp is driving the X or Y axis to the far end due to this code:
```
+ #if X_MAX_POS < 250
+ plan_buffer_line(X_MIN_POS, 150, current_position[Z_AXIS]+20, current_position[E_AXIS], manual_feedrate[X_AXIS]/60, active_extruder);
+ #else
+ plan_buffer_line(X_MAX_POS-15, Y_MAX_POS-15, Z_MAX_POS-15, current_position[E_AXIS], manual_feedrate[X_AXIS]/60, active_extruder);
+ #endif
```
Its dangerous and in the case of the Hephestos should be removed. I've seen this behaviour several times in my Printer.