Browse Source

Remove unused variable chars.

Marek Bel 6 years ago
parent
commit
cbf633cfd4
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Firmware/ultralcd.cpp

+ 1 - 3
Firmware/ultralcd.cpp

@@ -482,12 +482,10 @@ void lcdui_print_temp(char type, int val_current, int val_target)
 // Print Z-coordinate (8 chars total)
 void lcdui_print_Z_coord(void)
 {
-	int chars = 8;
     if (custom_message_type == CUSTOM_MSG_TYPE_MESHBL)
         lcd_puts_P(_N("Z   --- "));
     else
-		chars = lcd_printf_P(_N("Z%6.2f "), current_position[Z_AXIS]);
-//	lcd_space(8 - chars);
+		lcd_printf_P(_N("Z%6.2f "), current_position[Z_AXIS]);
 }
 
 #ifdef PLANNER_DIAGNOSTICS