Browse Source

elapsed time overflow warning fix

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

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

Loading…
Cancel
Save