Merge branch 'Marlin_v1' of github.com:ErikZalm/Marlin into Marlin_v1
This commit is contained in:
@@ -609,7 +609,7 @@ 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[X_AXIS]) && code_seen(axis_codes[Y_AXIS]) ) //first diagonal move
|
||||
if((home_all_axis)||( code_seen(axis_codes[X_AXIS]) && code_seen(axis_codes[Y_AXIS])) ) //first diagonal move
|
||||
{
|
||||
current_position[X_AXIS] = 0;current_position[Y_AXIS] = 0;
|
||||
|
||||
@@ -1100,6 +1100,12 @@ void process_commands()
|
||||
|
||||
SERIAL_PROTOCOLLN("");
|
||||
break;
|
||||
case 120: // M120
|
||||
enable_endstops(false) ;
|
||||
break;
|
||||
case 121: // M121
|
||||
enable_endstops(true) ;
|
||||
break;
|
||||
case 119: // M119
|
||||
#if (X_MIN_PIN > -1)
|
||||
SERIAL_PROTOCOLPGM(MSG_X_MIN);
|
||||
|
Reference in New Issue
Block a user