ソースを参照

Fix Estimation String Macro

Robby Candra 5年前
コミット
d64ab63026
1個のファイルの変更4行の追加2行の削除
  1. 4
    2
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp

+ 4
- 2
Marlin/src/lcd/dogm/status_screen_DOGM.cpp ファイルの表示

405
         #if ENABLED(DOGM_SD_PERCENT)
405
         #if ENABLED(DOGM_SD_PERCENT)
406
           if (progress == 0) {
406
           if (progress == 0) {
407
             progress_string[0] = '\0';
407
             progress_string[0] = '\0';
408
-            estimation_string[0] = '\0';
409
-            estimation_x_pos = _PROGRESS_CENTER_X(0);
408
+            #if ENABLED(SHOW_REMAINING_TIME)
409
+              estimation_string[0] = '\0';
410
+              estimation_x_pos = _SD_DURATION_X(0);
411
+            #endif
410
           }
412
           }
411
           else {
413
           else {
412
             strcpy(progress_string, (
414
             strcpy(progress_string, (

読み込み中…
キャンセル
保存