From 21867c7fef58c238cb1b64e32e6c36b596f8ab06 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Mon, 14 Oct 2019 19:43:41 +0200 Subject: [PATCH] elapsed time overflow warning fix tried to fix it with snprintf in libs/duration_t.h but its worst... :/ --- Marlin/src/lcd/dogm/status_screen_DOGM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/lcd/dogm/status_screen_DOGM.cpp b/Marlin/src/lcd/dogm/status_screen_DOGM.cpp index 93d2d2b25973..3a8f9c296ed6 100644 --- a/Marlin/src/lcd/dogm/status_screen_DOGM.cpp +++ b/Marlin/src/lcd/dogm/status_screen_DOGM.cpp @@ -345,7 +345,7 @@ void MarlinUI::draw_status_screen() { static char progress_string[5]; #endif static uint8_t lastElapsed = 0, elapsed_x_pos = 0; - static char elapsed_string[10]; + static char elapsed_string[22]; #if ENABLED(SHOW_REMAINING_TIME) #define SHOW_REMAINING_TIME_PREFIX 'E' static uint8_t estimation_x_pos = 0;