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.
2.0.x
filipmu 10 years ago committed by Richard Wackerbarth
parent 45642b7fe8
commit b0860adab6

@ -384,7 +384,7 @@ static void lcd_implementation_status_screen() {
lcd_printPGM(PSTR("dia:")); lcd_printPGM(PSTR("dia:"));
lcd_print(ftostr12ns(filament_width_meas)); lcd_print(ftostr12ns(filament_width_meas));
lcd_printPGM(PSTR(" factor:")); 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('%'); lcd_print('%');
} }
#endif #endif

Loading…
Cancel
Save