Quellcode durchsuchen

Fix volumetric multiplier display for filament sensor (PR#2264)

The volumetric multiplier display needs to be multiplied by 100 in order to make it an integer for display purposes.
filipmu vor 9 Jahren
Ursprung
Commit
b0860adab6
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      Marlin/dogm_lcd_implementation.h

+ 1
- 1
Marlin/dogm_lcd_implementation.h Datei anzeigen

@@ -384,7 +384,7 @@ static void lcd_implementation_status_screen() {
384 384
       lcd_printPGM(PSTR("dia:"));
385 385
       lcd_print(ftostr12ns(filament_width_meas));
386 386
       lcd_printPGM(PSTR(" factor:"));
387
-      lcd_print(itostr3(volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]));
387
+      lcd_print(itostr3(100.0 * volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]));
388 388
       lcd_print('%');
389 389
     }
390 390
   #endif

Laden…
Abbrechen
Speichern