Bugfix: homing was not correctly saved

This commit is contained in:
Alessandro Ranellucci 2016-05-24 03:47:21 +02:00
parent 00ab6af046
commit 30f6e4b16f

View file

@ -182,8 +182,8 @@ sub home {
$self->sender->send(sprintf("G28 %s", $axis), 1);
$self->{canvas}->set_pos(undef);
$self->x_homed if $axis eq 'X';
$self->y_homed if $axis eq 'Y';
$self->x_homed(1) if $axis eq 'X';
$self->y_homed(1) if $axis eq 'Y';
}
1;