Remove unused variable chars.
This commit is contained in:
parent
c95b463e0b
commit
cbf633cfd4
|
|
@ -482,12 +482,10 @@ void lcdui_print_temp(char type, int val_current, int val_target)
|
||||||
// Print Z-coordinate (8 chars total)
|
// Print Z-coordinate (8 chars total)
|
||||||
void lcdui_print_Z_coord(void)
|
void lcdui_print_Z_coord(void)
|
||||||
{
|
{
|
||||||
int chars = 8;
|
|
||||||
if (custom_message_type == CUSTOM_MSG_TYPE_MESHBL)
|
if (custom_message_type == CUSTOM_MSG_TYPE_MESHBL)
|
||||||
lcd_puts_P(_N("Z --- "));
|
lcd_puts_P(_N("Z --- "));
|
||||||
else
|
else
|
||||||
chars = lcd_printf_P(_N("Z%6.2f "), current_position[Z_AXIS]);
|
lcd_printf_P(_N("Z%6.2f "), current_position[Z_AXIS]);
|
||||||
// lcd_space(8 - chars);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef PLANNER_DIAGNOSTICS
|
#ifdef PLANNER_DIAGNOSTICS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue