Browse Source

Include decimeters in filamentUsed display

Scott Lahteine 8 years ago
parent
commit
405afec393
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

@@ -1985,7 +1985,7 @@ void kill_screen(const char* lcd_msg) {
1985 1985
         STATIC_ITEM(MSG_INFO_PRINT_LONGEST ": ", false, false);                                        // Longest job time:
1986 1986
         STATIC_ITEM("", false, false, buffer);                                                         // 99y 364d 23h 59m 59s
1987 1987
 
1988
-        sprintf_P(buffer, PSTR("%ldm"), long(stats.filamentUsed / 1000));
1988
+        sprintf_P(buffer, PSTR("%ld.%im"), long(stats.filamentUsed / 1000), int(stats.filamentUsed / 100) % 10);
1989 1989
         STATIC_ITEM(MSG_INFO_PRINT_FILAMENT ": ", false, false);                                       // Extruded total:
1990 1990
         STATIC_ITEM("", false, false, buffer);                                                         // 125m
1991 1991
         END_SCREEN();

Loading…
Cancel
Save