ソースを参照

Fix LCD timer string length

blye 6年前
コミット
7c18c2ea5f
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/src/libs/duration_t.h

+ 1
- 1
Marlin/src/libs/duration_t.h ファイルの表示

@@ -151,7 +151,7 @@ struct duration_t {
151 151
     if (with_days) {
152 152
       uint16_t d = this->day();
153 153
       sprintf_P(buffer, PSTR("%ud %02u:%02u"), d, h % 24, m);
154
-      return d >= 10 ? 8 : 7;
154
+      return d >= 10 ? 9 : 8;
155 155
     }
156 156
     else if (h < 100) {
157 157
       sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m);

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