summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware/Tonokip_Firmware.pde
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-04-28 15:43:19 -0700
committerkliment <kliment.yanev@gmail.com>2011-04-28 15:43:19 -0700
commit6adcd70cc9e9f618fbe2274ed85c61cea8aee2e4 (patch)
treed69cbbabc7a2958eb07eb2400d5dbc33dfd31b55 /Tonokip_Firmware/Tonokip_Firmware.pde
parente164ec87e4a6dedc6c9700977f2f6bab5d7654c4 (diff)
parentce13b14457db254dfe1c38dda723eb3674b505b6 (diff)
Merged pull request #1 from WebSpider/master.
Basic M115 implementation
Diffstat (limited to 'Tonokip_Firmware/Tonokip_Firmware.pde')
-rw-r--r--Tonokip_Firmware/Tonokip_Firmware.pde4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde
index fcbad1d..bb744db 100644
--- a/Tonokip_Firmware/Tonokip_Firmware.pde
+++ b/Tonokip_Firmware/Tonokip_Firmware.pde
@@ -44,6 +44,7 @@
// 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
// 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('E')) e_steps_per_unit = code_value();
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;
}
}