Make sure we can send a home
This commit is contained in:
parent
660aa71b8f
commit
6495c5dc7a
1 changed files with 1 additions and 4 deletions
|
|
@ -126,14 +126,11 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
lineBeingSent = lineBeingSent.Substring(0, commentIndex).Trim();
|
||||
}
|
||||
List<string> lines = new List<string>();
|
||||
lines.Add(lineBeingSent);
|
||||
if (lineBeingSent.StartsWith("G28"))
|
||||
{
|
||||
lines.Add("M114");
|
||||
}
|
||||
else
|
||||
{
|
||||
lines.Add(lineBeingSent);
|
||||
}
|
||||
|
||||
return lines;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue