Comment, fix filament width sensor
This commit is contained in:
1 parent
a641992c1d
commit
cf2193c07f
8 files changed
+69
-47
No files matched your search
@@ -884,12 +884,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user