Comment, improve filament width sensor
This commit is contained in:
parent
7c1adff8ad
commit
8519451161
8 changed files with 69 additions and 48 deletions
|
|
@ -881,12 +881,13 @@ static void lcd_implementation_status_screen() {
|
|||
lcd_printPGM(PSTR("Dia "));
|
||||
lcd.print(ftostr12ns(filament_width_meas));
|
||||
lcd_printPGM(PSTR(" V"));
|
||||
if (parser.volumetric_enabled) {
|
||||
lcd.print(itostr3(100.0 * planner.volumetric_area_nominal / planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]));
|
||||
lcd.write('%');
|
||||
}
|
||||
else
|
||||
lcd_printPGM(PSTR("--- "));
|
||||
lcd.print(itostr3(100.0 * (
|
||||
parser.volumetric_enabled
|
||||
? planner.volumetric_area_nominal / planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]
|
||||
: planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]
|
||||
)
|
||||
));
|
||||
lcd.write('%');
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue