Fixed problem with probe generating extra sample
issue: MatterHackers/MCCentral#4925 Bed leveling issues
This commit is contained in:
parent
7bc437c836
commit
51b5a824b2
2 changed files with 2 additions and 4 deletions
|
|
@ -103,9 +103,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
|
||||
UiThread.RunOnIdle(() => NextButton.InvokeClick());
|
||||
}
|
||||
|
||||
if (numberOfSamples-- > 0
|
||||
&& !this.HasBeenClosed)
|
||||
else if (!this.HasBeenClosed)
|
||||
{
|
||||
// add the next request for probe
|
||||
printer.Connection.QueueLine("G30");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue