elapsed time overflow warning fix

tried to fix it with snprintf in libs/duration_t.h but its worst... :/
2.0.x
Tanguy Pruvot 5 years ago
parent b4f82d1081
commit 21867c7fef

@ -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;

Loading…
Cancel
Save