Browse Source

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.
filipmu 10 years ago
parent
commit
b0860adab6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/dogm_lcd_implementation.h

+ 1
- 1
Marlin/dogm_lcd_implementation.h View File

384
       lcd_printPGM(PSTR("dia:"));
384
       lcd_printPGM(PSTR("dia:"));
385
       lcd_print(ftostr12ns(filament_width_meas));
385
       lcd_print(ftostr12ns(filament_width_meas));
386
       lcd_printPGM(PSTR(" factor:"));
386
       lcd_printPGM(PSTR(" factor:"));
387
-      lcd_print(itostr3(volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]));
387
+      lcd_print(itostr3(100.0 * volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]));
388
       lcd_print('%');
388
       lcd_print('%');
389
     }
389
     }
390
   #endif
390
   #endif

Loading…
Cancel
Save