elapsed time overflow warning fix
tried to fix it with snprintf in libs/duration_t.h but its worst... :/
This commit is contained in:
parent
b4f82d1081
commit
21867c7fef
@ -345,7 +345,7 @@ void MarlinUI::draw_status_screen() {
|
|||||||
static char progress_string[5];
|
static char progress_string[5];
|
||||||
#endif
|
#endif
|
||||||
static uint8_t lastElapsed = 0, elapsed_x_pos = 0;
|
static uint8_t lastElapsed = 0, elapsed_x_pos = 0;
|
||||||
static char elapsed_string[10];
|
static char elapsed_string[22];
|
||||||
#if ENABLED(SHOW_REMAINING_TIME)
|
#if ENABLED(SHOW_REMAINING_TIME)
|
||||||
#define SHOW_REMAINING_TIME_PREFIX 'E'
|
#define SHOW_REMAINING_TIME_PREFIX 'E'
|
||||||
static uint8_t estimation_x_pos = 0;
|
static uint8_t estimation_x_pos = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user