Browse Source

elapsed time overflow warning fix

tried to fix it with snprintf in libs/duration_t.h but its worst... :/
Tanguy Pruvot 5 years ago
parent
commit
21867c7fef
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp

+ 1
- 1
Marlin/src/lcd/dogm/status_screen_DOGM.cpp View File

@@ -345,7 +345,7 @@ void MarlinUI::draw_status_screen() {
345 345
       static char progress_string[5];
346 346
     #endif
347 347
     static uint8_t lastElapsed = 0, elapsed_x_pos = 0;
348
-    static char elapsed_string[10];
348
+    static char elapsed_string[22];
349 349
     #if ENABLED(SHOW_REMAINING_TIME)
350 350
       #define SHOW_REMAINING_TIME_PREFIX 'E'
351 351
       static uint8_t estimation_x_pos = 0;

Loading…
Cancel
Save