make QUICKHOME configureable

This commit is contained in:
Bernhard committed 2011-12-04 09:02:09 +01:00
1 parent 6b86f15686
commit 4f909963e4
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -532,7 +532,7 @@ FORCE_INLINE void process_commands()
}
feedrate = 0.0;
home_all_axis = !((code_seen(axis_codes[0])) || (code_seen(axis_codes[1])) || (code_seen(axis_codes[2])));
#ifdef QUICK_HOME
if( code_seen(axis_codes[0]) && code_seen(axis_codes[1]) ) //first diagonal move
{
current_position[X_AXIS] = 0; current_position[Y_AXIS] = 0;
@@ -545,6 +545,7 @@ FORCE_INLINE void process_commands()
prepare_move();
current_position[X_AXIS] = 0; current_position[Y_AXIS] = 0;
}
#endif
if((home_all_axis) || (code_seen(axis_codes[X_AXIS])))
{