浏览代码

DOGM: Slow down touchscreen calibration (#20454)

Tanguy Pruvot 4 年前
父节点
当前提交
017d97fd0e
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 5 次插入0 次删除
  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 查看文件

525
       lcd_put_u8str(0, LCD_PIXEL_HEIGHT / 2, str);
525
       lcd_put_u8str(0, LCD_PIXEL_HEIGHT / 2, str);
526
     } while (u8g.nextPage());
526
     } while (u8g.nextPage());
527
     drawing_screen = false;
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
 #endif // TOUCH_SCREEN_CALIBRATION
535
 #endif // TOUCH_SCREEN_CALIBRATION

正在加载...
取消
保存