STM32F1xx support for TFTGLCD (#20515)

This commit is contained in:
Serhiy-K
2020-12-22 14:56:00 +02:00
committed by GitHub
parent a0c8d348a0
commit 0b3b4da7d0
3 changed files with 14 additions and 7 deletions

View File

@ -972,6 +972,12 @@
MeshFlags done_flags{0};
const xy_int8_t &lpos = location.pos;
#if IS_TFTGLCD_PANEL
lcd_mesh_edit_setup(0); // Change current screen before calling ui.ubl_plot
safe_delay(50);
#endif
do {
location = find_closest_mesh_point_of_type(SET_IN_BITMAP, pos, false, &done_flags);