From 2112d53cec6c07618c95fd1aa430acffd5b6c86f Mon Sep 17 00:00:00 2001 From: Marcio Teixeira Date: Fri, 13 Apr 2018 16:03:01 -0600 Subject: [PATCH] Changed BUFSIZE (T2345); Corrected slow probe. - Corrected speed of slow probe. - Set BUFSIZE to 5 (T2345) --- Marlin/Conditionals_LulzBot.h | 6 ++---- Marlin/Marlin_main.cpp | 6 +----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Marlin/Conditionals_LulzBot.h b/Marlin/Conditionals_LulzBot.h index f7503f357..db7f1d91b 100644 --- a/Marlin/Conditionals_LulzBot.h +++ b/Marlin/Conditionals_LulzBot.h @@ -13,7 +13,7 @@ * got disabled. */ -#define LULZBOT_FW_VERSION ".27" // Change this with each update +#define LULZBOT_FW_VERSION ".28" // Change this with each update #if ( \ !defined(LULZBOT_Gladiola_Mini) && \ @@ -222,7 +222,7 @@ #define LULZBOT_AUTO_REPORT_TEMPERATURES #define LULZBOT_ADVANCED_OK #define LULZBOT_TX_BUFFER_SIZE 32 -#define LULZBOT_BUFSIZE 10 +#define LULZBOT_BUFSIZE 5 #define LULZBOT_HOST_KEEPALIVE_FEATURE_DISABLED #define LULZBOT_CLARIFY_ERROR_MESSAGES @@ -1524,8 +1524,6 @@ #define LULZBOT_BED_PROBE_MIN -4 // Limit on pushing into the bed #endif -#define LULZBOT_PROBE_Z_WITH_REWIPE(speed) if (do_probe_move(LULZBOT_BED_PROBE_MIN, Z_PROBE_SPEED_FAST)) return NAN; - #if defined(LULZBOT_USE_PRE_GLADIOLA_G29_WORKAROUND) // workaround for older minis where G29 shifts the coordinate system #define LULZBOT_REHOME_BEFORE_REWIPE \ diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 4c912198f..09d6906f5 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -2266,11 +2266,7 @@ static void clean_up_after_endstop_or_probe_move() { #endif // move down slowly to find bed - #if defined(LULZBOT_PROBE_Z_WITH_REWIPE) - LULZBOT_PROBE_Z_WITH_REWIPE(Z_PROBE_SPEED_SLOW); - #else - if (do_probe_move(-10, Z_PROBE_SPEED_SLOW)) return NAN; - #endif + if (do_probe_move(LULZBOT_BED_PROBE_MIN, Z_PROBE_SPEED_SLOW)) return NAN; #if MULTIPLE_PROBING > 2 probes_total += current_position[Z_AXIS];