|
@@ -654,9 +654,15 @@ static void lcd_implementation_status_screen() {
|
654
|
654
|
strcpy(xstring, ftostr4sign(LOGICAL_X_POSITION(current_position[X_AXIS])));
|
655
|
655
|
strcpy(ystring, ftostr4sign(LOGICAL_Y_POSITION(current_position[Y_AXIS])));
|
656
|
656
|
strcpy(zstring, ftostr52sp(FIXFLOAT(LOGICAL_Z_POSITION(current_position[Z_AXIS]))));
|
657
|
|
- #if ENABLED(FILAMENT_LCD_DISPLAY) && DISABLED(SDSUPPORT)
|
|
657
|
+ #if ENABLED(FILAMENT_LCD_DISPLAY)
|
658
|
658
|
strcpy(wstring, ftostr12ns(filament_width_meas));
|
659
|
|
- strcpy(mstring, itostr3(100.0 * planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]));
|
|
659
|
+ if (parser.volumetric_enabled)
|
|
660
|
+ strcpy(mstring, itostr3(100.0 * filament_width_meas / filament_width_nominal));
|
|
661
|
+ else
|
|
662
|
+ strcpy_P(mstring, PSTR("---"));
|
|
663
|
+ // Alternatively, show the ratio between cross-sectional areas:
|
|
664
|
+ //strcpy(mstring, itostr3(100.0 / CIRCLE_AREA(filament_width_nominal * 0.5)
|
|
665
|
+ // / planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]));
|
660
|
666
|
#endif
|
661
|
667
|
}
|
662
|
668
|
|
|
@@ -712,7 +718,7 @@ static void lcd_implementation_status_screen() {
|
712
|
718
|
//
|
713
|
719
|
// Filament sensor display if SD is disabled
|
714
|
720
|
//
|
715
|
|
- #if DISABLED(SDSUPPORT) && ENABLED(FILAMENT_LCD_DISPLAY)
|
|
721
|
+ #if ENABLED(FILAMENT_LCD_DISPLAY) && DISABLED(SDSUPPORT)
|
716
|
722
|
u8g.setPrintPos(56, 50);
|
717
|
723
|
lcd_print(wstring);
|
718
|
724
|
u8g.setPrintPos(102, 50);
|
|
@@ -742,10 +748,10 @@ static void lcd_implementation_status_screen() {
|
742
|
748
|
else {
|
743
|
749
|
lcd_printPGM(PSTR(LCD_STR_FILAM_DIA));
|
744
|
750
|
u8g.print(':');
|
745
|
|
- lcd_print(ftostr12ns(filament_width_meas));
|
|
751
|
+ lcd_print(wstring);
|
746
|
752
|
lcd_printPGM(PSTR(" " LCD_STR_FILAM_MUL));
|
747
|
753
|
u8g.print(':');
|
748
|
|
- lcd_print(itostr3(100.0 * planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]));
|
|
754
|
+ lcd_print(mstring);
|
749
|
755
|
u8g.print('%');
|
750
|
756
|
}
|
751
|
757
|
#else
|