Skip to content

Commit

Permalink
elapsed time overflow warning fix
Browse files Browse the repository at this point in the history
tried to fix it with snprintf in libs/duration_t.h but its worst... :/
  • Loading branch information
tpruvot committed Oct 14, 2019
1 parent b4f82d1 commit 21867c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/dogm/status_screen_DOGM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 21867c7

Please sign in to comment.