Permit firmware retraction when firmware is Repetier (repetier-firmware supports it). Fixes #3821
This commit is contained in:
parent
36416d77b8
commit
7b5158f5f2
1 changed files with 5 additions and 2 deletions
|
@ -254,8 +254,11 @@ sub validate {
|
||||||
die "Invalid value for --gcode-flavor\n"
|
die "Invalid value for --gcode-flavor\n"
|
||||||
if !first { $_ eq $self->gcode_flavor } @{$Options->{gcode_flavor}{values}};
|
if !first { $_ eq $self->gcode_flavor } @{$Options->{gcode_flavor}{values}};
|
||||||
|
|
||||||
die "--use-firmware-retraction is only supported by Marlin firmware\n"
|
die "--use-firmware-retraction is only supported by Marlin, Smoothie, Repetier and Machinekit firmware\n"
|
||||||
if $self->use_firmware_retraction && $self->gcode_flavor ne 'reprap' && $self->gcode_flavor ne 'machinekit';
|
if $self->use_firmware_retraction && $self->gcode_flavor ne 'smoothie'
|
||||||
|
&& $self->gcode_flavor ne 'reprap'
|
||||||
|
&& $self->gcode_flavor ne 'machinekit'
|
||||||
|
&& $self->gcode_flavor ne 'repetier';
|
||||||
|
|
||||||
die "--use-firmware-retraction is not compatible with --wipe\n"
|
die "--use-firmware-retraction is not compatible with --wipe\n"
|
||||||
if $self->use_firmware_retraction && first {$_} @{$self->wipe};
|
if $self->use_firmware_retraction && first {$_} @{$self->wipe};
|
||||||
|
|
Loading…
Reference in a new issue