Merged pull request #1 from WebSpider/master.
Basic M115 implementation
This commit is contained in:
commit
6adcd70cc9
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,7 @@
|
||||||
// M85 - Set inactivity shutdown timer with parameter S<seconds>. To disable set zero (default)
|
// M85 - Set inactivity shutdown timer with parameter S<seconds>. To disable set zero (default)
|
||||||
// M86 - If Endstop is Not Activated then Abort Print. Specify X and/or Y
|
// M86 - If Endstop is Not Activated then Abort Print. Specify X and/or Y
|
||||||
// M92 - Set axis_steps_per_unit - same syntax as G92
|
// M92 - Set axis_steps_per_unit - same syntax as G92
|
||||||
|
// M115 - Capabilities string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -702,6 +703,9 @@ inline void process_commands()
|
||||||
if(code_seen('Z')) z_steps_per_unit = code_value();
|
if(code_seen('Z')) z_steps_per_unit = code_value();
|
||||||
if(code_seen('E')) e_steps_per_unit = code_value();
|
if(code_seen('E')) e_steps_per_unit = code_value();
|
||||||
break;
|
break;
|
||||||
|
case 115: // M115
|
||||||
|
Serial.println("FIRMWARE_NAME:Sprinter FIRMWARE_URL:http%%3A/github.com/kliment/Sprinter/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue