Use sprintf_P in first layer calibration. Save 30B of FLASH memory.
This commit is contained in:
parent
47a183e96e
commit
60cc3d58ec
1 changed files with 1 additions and 3 deletions
|
@ -1414,9 +1414,7 @@ void lcd_commands()
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
lay1cal_meander();
|
lay1cal_meander();
|
||||||
|
sprintf_P(cmd1, PSTR("G1 X50 Y35 E%-.3f"), extr);
|
||||||
strcpy(cmd1, "G1 X50 Y35 E");
|
|
||||||
strcat(cmd1, ftostr43(extr));
|
|
||||||
enquecommand(cmd1);
|
enquecommand(cmd1);
|
||||||
|
|
||||||
lcd_commands_step = 6;
|
lcd_commands_step = 6;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue