DOGM: Slow down touchscreen calibration (#20454)

This commit is contained in:
Tanguy Pruvot 2020-12-18 23:21:00 +01:00 committed by Scott Lahteine
parent 51e3d8f08b
commit f7f531e59d

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); lcd_put_u8str(0, LCD_PIXEL_HEIGHT / 2, str);
} while (u8g.nextPage()); } while (u8g.nextPage());
drawing_screen = false; drawing_screen = false;
safe_delay(250);
if (calibration_stage == CALIBRATION_SUCCESS) {
safe_delay(500);
ui.goto_previous_screen();
}
} }
#endif // TOUCH_SCREEN_CALIBRATION #endif // TOUCH_SCREEN_CALIBRATION