DOGM: Slow down touchscreen calibration (#20454)

This commit is contained in:
Tanguy Pruvot 2020-12-18 23:21:00 +01:00 committed by GitHub
parent b167cd2427
commit 017d97fd0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -525,6 +525,11 @@ U8G_PB_DEV(u8g_dev_tft_320x240_upscale_from_128x64, WIDTH, HEIGHT, PAGE_HEIGHT,
lcd_put_u8str(0, LCD_PIXEL_HEIGHT / 2, str);
} while (u8g.nextPage());
drawing_screen = false;
safe_delay(250);
if (calibration_stage == CALIBRATION_SUCCESS) {
safe_delay(500);
ui.goto_previous_screen();
}
}
#endif // TOUCH_SCREEN_CALIBRATION