summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkintel <kintel>2008-06-23 20:05:22 +0000
committerkintel <kintel@cb376a5e-1013-0410-a455-b6b1f9ac8223>2008-06-23 20:05:22 +0000
commit3d16fe6f89b73d8f95960725caed2d7936dbd2c1 (patch)
tree962678209b673bcdfa833e3feb0c3c59f782c447
parentdd32bfcb39ae2859402609b64284d95b46b29f98 (diff)
downloadreprap-3d16fe6f89b73d8f95960725caed2d7936dbd2c1.tar.gz
reprap-3d16fe6f89b73d8f95960725caed2d7936dbd2c1.zip
sync to match current gcode firmware
git-svn-id: https://reprap.svn.sourceforge.net/svnroot/reprap@1652 cb376a5e-1013-0410-a455-b6b1f9ac8223
-rw-r--r--trunk/users/hoeken/arduino/GCode_Host/GCode_Host.pde4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/users/hoeken/arduino/GCode_Host/GCode_Host.pde b/trunk/users/hoeken/arduino/GCode_Host/GCode_Host.pde
index 67c66fa1..ba4d2bc7 100644
--- a/trunk/users/hoeken/arduino/GCode_Host/GCode_Host.pde
+++ b/trunk/users/hoeken/arduino/GCode_Host/GCode_Host.pde
@@ -44,7 +44,7 @@ void draw()
{
println("Got: " + serialLine);
- String m[] = match(serialLine, "^Temp:([0-9]+)");
+ String m[] = match(serialLine, "^T:([0-9]+)");
;
if (m != null)
temperature = m[0];
@@ -52,7 +52,7 @@ void draw()
if (match(serialLine, "^start") != null)
started = true;
- if (match(serialLine, "^done") != null)
+ if (match(serialLine, "^ok") != null)
{
commandComplete = true;