Disabled M88 for boards that don't have seperate enable pins.
This commit is contained in:
parent
98805c9228
commit
7216a12856
1 changed files with 13 additions and 8 deletions
|
@ -867,6 +867,7 @@ inline void process_commands()
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 88: //M88
|
case 88: //M88
|
||||||
|
#if ((E_ENABLE_PIN != X_ENABLE_PIN) && (E_ENABLE_PIN != Y_ENABLE_PIN)) // Only enable on boards that have seperate ENABLE_PINS
|
||||||
if(code_seen('S')) {
|
if(code_seen('S')) {
|
||||||
stepper_inactive_time = code_value() * 1000;
|
stepper_inactive_time = code_value() * 1000;
|
||||||
}
|
}
|
||||||
|
@ -875,6 +876,10 @@ inline void process_commands()
|
||||||
LCD_MESSAGEPGM("Free Move");
|
LCD_MESSAGEPGM("Free Move");
|
||||||
disable_e();
|
disable_e();
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
SERIAL_ECHO_START;
|
||||||
|
SERIAL_ECHOLN("M88 not supported");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case 115: // M115
|
case 115: // M115
|
||||||
SerialprintPGM("FIRMWARE_NAME:Marlin; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://www.mendel-parts.com PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1");
|
SerialprintPGM("FIRMWARE_NAME:Marlin; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://www.mendel-parts.com PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1");
|
||||||
|
|
Reference in a new issue