Browse Source

Adjust the Z display to hide float rounding errors

Scott Lahteine 10 years ago
parent
commit
6e343ef2f0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 1
- 1
Marlin/ultralcd_implementation_hitachi_HD44780.h View File

467
 # endif//LCD_WIDTH > 19
467
 # endif//LCD_WIDTH > 19
468
     lcd.setCursor(LCD_WIDTH - 8, 1);
468
     lcd.setCursor(LCD_WIDTH - 8, 1);
469
     lcd.print('Z');
469
     lcd.print('Z');
470
-    lcd.print(ftostr32(current_position[Z_AXIS]));
470
+    lcd.print(ftostr32(current_position[Z_AXIS] + 0.00001));
471
 #endif//LCD_HEIGHT > 2
471
 #endif//LCD_HEIGHT > 2
472
 
472
 
473
 #if LCD_HEIGHT > 3
473
 #if LCD_HEIGHT > 3

Loading…
Cancel
Save