Skip to content
Snippets Groups Projects
Commit 6e343ef2 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Adjust the Z display to hide float rounding errors

parent cb4a6dd2
Branches
No related tags found
No related merge requests found
...@@ -467,7 +467,7 @@ static void lcd_implementation_status_screen() ...@@ -467,7 +467,7 @@ static void lcd_implementation_status_screen()
# endif//LCD_WIDTH > 19 # endif//LCD_WIDTH > 19
lcd.setCursor(LCD_WIDTH - 8, 1); lcd.setCursor(LCD_WIDTH - 8, 1);
lcd.print('Z'); lcd.print('Z');
lcd.print(ftostr32(current_position[Z_AXIS])); lcd.print(ftostr32(current_position[Z_AXIS] + 0.00001));
#endif//LCD_HEIGHT > 2 #endif//LCD_HEIGHT > 2
#if LCD_HEIGHT > 3 #if LCD_HEIGHT > 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment