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