From b0860adab617f07005ba6d5f04fa1d769fa876d1 Mon Sep 17 00:00:00 2001 From: filipmu Date: Mon, 8 Jun 2015 21:50:50 -0500 Subject: [PATCH] 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. --- Marlin/dogm_lcd_implementation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/dogm_lcd_implementation.h b/Marlin/dogm_lcd_implementation.h index 53d7c79574..bdf0c09781 100644 --- a/Marlin/dogm_lcd_implementation.h +++ b/Marlin/dogm_lcd_implementation.h @@ -384,7 +384,7 @@ static void lcd_implementation_status_screen() { lcd_printPGM(PSTR("dia:")); lcd_print(ftostr12ns(filament_width_meas)); lcd_printPGM(PSTR(" factor:")); - lcd_print(itostr3(volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM])); + lcd_print(itostr3(100.0 * volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM])); lcd_print('%'); } #endif