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,7 +467,7 @@ static void lcd_implementation_status_screen()
467 467
 # endif//LCD_WIDTH > 19
468 468
     lcd.setCursor(LCD_WIDTH - 8, 1);
469 469
     lcd.print('Z');
470
-    lcd.print(ftostr32(current_position[Z_AXIS]));
470
+    lcd.print(ftostr32(current_position[Z_AXIS] + 0.00001));
471 471
 #endif//LCD_HEIGHT > 2
472 472
 
473 473
 #if LCD_HEIGHT > 3

Loading…
Cancel
Save