y-axis self-test hack cleanup

y-axis could not pass self-test when printer build on custom frame with value Y_MIN_POS less then -8
This commit is contained in:
Jiri Jirus 2019-05-02 15:39:18 +02:00 committed by GitHub
parent ca965aba7b
commit d0f1caf5b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7132,7 +7132,7 @@ static bool lcd_selfcheck_axis_sg(unsigned char axis) {
float max_error_mm = 5;
switch (axis) {
case 0: axis_length = X_MAX_POS; break;
case 1: axis_length = Y_MAX_POS + 8; break;
case 1: axis_length = Y_MAX_POS - Y_MIN_POS + 4; break;
default: axis_length = 210; break;
}