Fix spelling
This commit is contained in:
parent
96852ef3b4
commit
ac3982c9d5
16 changed files with 44 additions and 44 deletions
|
|
@ -44,12 +44,12 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
: base(internalStream)
|
||||
{
|
||||
// always reset this when we construct
|
||||
AlowLeveling = true;
|
||||
AllowLeveling = true;
|
||||
this.printerSettings = printerSettings;
|
||||
this.activePrinting = activePrinting;
|
||||
}
|
||||
|
||||
public static bool AlowLeveling { get; set; }
|
||||
public static bool AllowLeveling { get; set; }
|
||||
|
||||
public PrinterMove LastDestination { get { return lastDestination; } }
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
{
|
||||
get
|
||||
{
|
||||
return AlowLeveling
|
||||
return AllowLeveling
|
||||
&& printerSettings.GetValue<bool>(SettingsKey.print_leveling_enabled)
|
||||
&& !printerSettings.GetValue<bool>(SettingsKey.has_hardware_leveling);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
// remove it from the part
|
||||
case RecoveryState.Raising:
|
||||
// We don't know where the printer is for sure (it make have been turned off). Disable leveling until we know where it is.
|
||||
PrintLevelingStream.AlowLeveling = false;
|
||||
PrintLevelingStream.AllowLeveling = false;
|
||||
queuedCommands.Add("M114 ; get current position");
|
||||
queuedCommands.Add("G91 ; move relative");
|
||||
queuedCommands.Add("G1 Z10 F{0}".FormatWith(printer.Settings.ZSpeed()));
|
||||
|
|
@ -145,7 +145,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
queuedCommands.Add("G28 Z0");
|
||||
}
|
||||
// We now know where the printer is re-enable print leveling
|
||||
PrintLevelingStream.AlowLeveling = true;
|
||||
PrintLevelingStream.AllowLeveling = true;
|
||||
RecoveryState = RecoveryState.FindingRecoveryLayer;
|
||||
return "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue