From 4b644a58ae45915e36bb76b0d4366fb430922224 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Thu, 23 Nov 2017 18:22:00 +0100 Subject: [PATCH] block of gcodes changed to avoid full buffer during v2 cal. --- Firmware/ultralcd.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 7af638da..a6d5e068 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -979,6 +979,10 @@ void lcd_commands() enquecommand_P(PSTR("G1 X200 Y55 E0.49386")); enquecommand_P(PSTR("G1 X50 Y55 E3.62773")); + strcpy(cmd1, "G1 X50 Y35 E"); + strcat(cmd1, ftostr43(extr)); + enquecommand(cmd1); + lcd_commands_step = 6; } @@ -986,9 +990,6 @@ void lcd_commands() { 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++) { strcpy(cmd1, "G1 X70 Y");