diff --git a/esp3d/config.h b/esp3d/config.h index 43243ae7..a203e9e1 100644 --- a/esp3d/config.h +++ b/esp3d/config.h @@ -19,7 +19,7 @@ */ //version and sources location -#define FW_VERSION "2.1.1.b4" +#define FW_VERSION "2.1.1.b5" #define REPOSITORY "https://github.com/luc-github/ESP3D" //Customize ESP3D //////////////////////////////////////////////////////////////////////// @@ -144,6 +144,9 @@ #define GRBL 6 #define MAX_FW_ID 6 +//For FW which has issue with checksum or not handling M110 properly/////// +#define DISABLE_SERIAL_CHECKSUM + //Do not Edit after this line ////////////////////////////////////////////// //DEBUG Flag do not do this when connected to printer !!! @@ -163,6 +166,7 @@ #if defined(ASYNCWEBSERVER) #define ESP_USE_ASYNC true +#error it no more supported #else #define ESP_USE_ASYNC false #endif diff --git a/esp3d/webinterface.cpp b/esp3d/webinterface.cpp index ef428559..1c622bb4 100644 --- a/esp3d/webinterface.cpp +++ b/esp3d/webinterface.cpp @@ -163,6 +163,9 @@ bool sendLine2Serial (String & line, int32_t linenb, int32_t * newlinenb) if ( CONFIG::GetFirmwareTarget() == SMOOTHIEWARE) { sresend = "rs N"; } +#ifdef DISABLE_SERIAL_CHECKSUM + linenb = -1; +#endif if (linenb != -1) { if ( ( CONFIG::GetFirmwareTarget() == REPETIER4DV) || (CONFIG::GetFirmwareTarget() == REPETIER) ) { sok+=" " + String(linenb);