From abe75464930b3fafd8cbce26fe81fad245e069e9 Mon Sep 17 00:00:00 2001 From: Luc Date: Tue, 25 Jun 2019 21:43:26 +0200 Subject: [PATCH] Workaround for incomplete output with MArlin 2.X at cold boot --- esp3d/config.h | 5 ++++- esp3d/wificonf.cpp | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/esp3d/config.h b/esp3d/config.h index 6ca9d999..5cfe234d 100644 --- a/esp3d/config.h +++ b/esp3d/config.h @@ -19,7 +19,7 @@ */ //version and sources location -#define FW_VERSION "2.1.0.b29" +#define FW_VERSION "2.1.0.b30" #define REPOSITORY "https://github.com/luc-github/ESP3D" //Customize ESP3D //////////////////////////////////////////////////////////////////////// @@ -93,6 +93,9 @@ //Extra features ///////////////////////////////////////////////////////////////////////// +//Workaround for Marlin 2.X coldstart +//#define DISABLE_CONNECTING_MSG + //Serial rx buffer size is 256 but can be extended #define SERIAL_RX_BUFFER_SIZE 512 diff --git a/esp3d/wificonf.cpp b/esp3d/wificonf.cpp index c54b9713..4b29b47d 100644 --- a/esp3d/wificonf.cpp +++ b/esp3d/wificonf.cpp @@ -529,7 +529,9 @@ bool WIFI_CONFIG::Setup (bool force_ap) dot = 0; } #ifndef MKS_TFT_FEATURE +#ifndef DISABLE_CONNECTING_MSG ESPCOM::println (msg, PRINTER_PIPE); +#endif #endif delay (500);