Browse Source

Fix num of digits on LCD for E and Z axis.

The number of steps per mm often contains 4 digits before the decimal point and does not require precision greater than 0.1
Sergey Taranenko 12 years ago
parent
commit
8178dec4c3
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ultralcd.pde

+ 2
- 2
Marlin/ultralcd.pde View File

@@ -1858,7 +1858,7 @@ void MainMenu::showControlMotion()
1858 1858
       if(force_lcd_update)
1859 1859
         {
1860 1860
           lcd.setCursor(0,line);lcdprintPGM(MSG_ZSTEPS);
1861
-          lcd.setCursor(11,line);lcd.print(ftostr52(axis_steps_per_unit[Z_AXIS]));
1861
+          lcd.setCursor(11,line);lcd.print(ftostr51(axis_steps_per_unit[Z_AXIS]));
1862 1862
         }
1863 1863
         
1864 1864
         if((activeline!=line) )
@@ -1897,7 +1897,7 @@ void MainMenu::showControlMotion()
1897 1897
       if(force_lcd_update)
1898 1898
         {
1899 1899
           lcd.setCursor(0,line);lcdprintPGM(MSG_ESTEPS);
1900
-          lcd.setCursor(11,line);lcd.print(ftostr52(axis_steps_per_unit[E_AXIS]));
1900
+          lcd.setCursor(11,line);lcd.print(ftostr51(axis_steps_per_unit[E_AXIS]));
1901 1901
         }
1902 1902
         
1903 1903
         if((activeline!=line) )

Loading…
Cancel
Save