Merge pull request #99 from PavelSindler/MK3

block of gcodes changed to avoid full buffer during v2 cal.
This commit is contained in:
PavelSindler 2017-11-23 18:22:57 +01:00 committed by GitHub
commit 512853f65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -979,6 +979,10 @@ void lcd_commands()
enquecommand_P(PSTR("G1 X200 Y55 E0.49386")); enquecommand_P(PSTR("G1 X200 Y55 E0.49386"));
enquecommand_P(PSTR("G1 X50 Y55 E3.62773")); enquecommand_P(PSTR("G1 X50 Y55 E3.62773"));
strcpy(cmd1, "G1 X50 Y35 E");
strcat(cmd1, ftostr43(extr));
enquecommand(cmd1);
lcd_commands_step = 6; lcd_commands_step = 6;
} }
@ -986,9 +990,6 @@ void lcd_commands()
{ {
lcd_timeoutToStatus = millis() + LCD_TIMEOUT_TO_STATUS; lcd_timeoutToStatus = millis() + LCD_TIMEOUT_TO_STATUS;
strcpy(cmd1, "G1 X50 Y35 E");
strcat(cmd1, ftostr43(extr));
enquecommand(cmd1);
for (int i = 0; i < 4; i++) { for (int i = 0; i < 4; i++) {
strcpy(cmd1, "G1 X70 Y"); strcpy(cmd1, "G1 X70 Y");