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;
|
||||
case 7:
|
||||
lay1cal_meander();
|
||||
|
||||
strcpy(cmd1, "G1 X50 Y35 E");
|
||||
strcat(cmd1, ftostr43(extr));
|
||||
sprintf_P(cmd1, PSTR("G1 X50 Y35 E%-.3f"), extr);
|
||||
enquecommand(cmd1);
|
||||
|
||||
lcd_commands_step = 6;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue