Sfoglia il codice sorgente

DOGM: Slow down touchscreen calibration (#20454)

Tanguy Pruvot 4 anni fa
parent
commit
017d97fd0e
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      Marlin/src/lcd/dogm/u8g_dev_tft_upscale_from_128x64.cpp

+ 5
- 0
Marlin/src/lcd/dogm/u8g_dev_tft_upscale_from_128x64.cpp Vedi File

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

Loading…
Annulla
Salva