Browse Source

Merge pull request #1097 from thinkyhead/round-up-xyz

Adjust the Z display to hide float rounding errors
pull/1/head
Erik van der Zalm 10 years ago
parent
commit
5ae02a361b
  1. 2
      Marlin/ultralcd_implementation_hitachi_HD44780.h

2
Marlin/ultralcd_implementation_hitachi_HD44780.h

@ -467,7 +467,7 @@ static void lcd_implementation_status_screen()
# endif//LCD_WIDTH > 19
lcd.setCursor(LCD_WIDTH - 8, 1);
lcd.print('Z');
lcd.print(ftostr32(current_position[Z_AXIS]));
lcd.print(ftostr32(current_position[Z_AXIS] + 0.00001));
#endif//LCD_HEIGHT > 2
#if LCD_HEIGHT > 3

Loading…
Cancel
Save