mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-06-06 02:36:49 +08:00
Add option to disable Serial check sum
This commit is contained in:
parent
3291a90bf2
commit
ae1c8bafae
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//version and sources location
|
//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"
|
#define REPOSITORY "https://github.com/luc-github/ESP3D"
|
||||||
|
|
||||||
//Customize ESP3D ////////////////////////////////////////////////////////////////////////
|
//Customize ESP3D ////////////////////////////////////////////////////////////////////////
|
||||||
@ -144,6 +144,9 @@
|
|||||||
#define GRBL 6
|
#define GRBL 6
|
||||||
#define MAX_FW_ID 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 //////////////////////////////////////////////
|
//Do not Edit after this line //////////////////////////////////////////////
|
||||||
|
|
||||||
//DEBUG Flag do not do this when connected to printer !!!
|
//DEBUG Flag do not do this when connected to printer !!!
|
||||||
@ -163,6 +166,7 @@
|
|||||||
|
|
||||||
#if defined(ASYNCWEBSERVER)
|
#if defined(ASYNCWEBSERVER)
|
||||||
#define ESP_USE_ASYNC true
|
#define ESP_USE_ASYNC true
|
||||||
|
#error it no more supported
|
||||||
#else
|
#else
|
||||||
#define ESP_USE_ASYNC false
|
#define ESP_USE_ASYNC false
|
||||||
#endif
|
#endif
|
||||||
|
@ -163,6 +163,9 @@ bool sendLine2Serial (String & line, int32_t linenb, int32_t * newlinenb)
|
|||||||
if ( CONFIG::GetFirmwareTarget() == SMOOTHIEWARE) {
|
if ( CONFIG::GetFirmwareTarget() == SMOOTHIEWARE) {
|
||||||
sresend = "rs N";
|
sresend = "rs N";
|
||||||
}
|
}
|
||||||
|
#ifdef DISABLE_SERIAL_CHECKSUM
|
||||||
|
linenb = -1;
|
||||||
|
#endif
|
||||||
if (linenb != -1) {
|
if (linenb != -1) {
|
||||||
if ( ( CONFIG::GetFirmwareTarget() == REPETIER4DV) || (CONFIG::GetFirmwareTarget() == REPETIER) ) {
|
if ( ( CONFIG::GetFirmwareTarget() == REPETIER4DV) || (CONFIG::GetFirmwareTarget() == REPETIER) ) {
|
||||||
sok+=" " + String(linenb);
|
sok+=" " + String(linenb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user