Try M29 without check sum first

This commit is contained in:
Luc 2020-04-19 16:55:19 +02:00
parent 205fa154b5
commit cc2eac15a0
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
*/ */
//version and sources location //version and sources location
#define FW_VERSION "2.1.1.b5" #define FW_VERSION "2.1.1.b6"
#define REPOSITORY "https://github.com/luc-github/ESP3D" #define REPOSITORY "https://github.com/luc-github/ESP3D"
//Customize ESP3D //////////////////////////////////////////////////////////////////////// //Customize ESP3D ////////////////////////////////////////////////////////////////////////

View File

@ -1230,10 +1230,10 @@ void SDFile_serial_upload()
if (CONFIG::GetFirmwareTarget() == SMOOTHIEWARE)resetcmd = "N0 M110"; if (CONFIG::GetFirmwareTarget() == SMOOTHIEWARE)resetcmd = "N0 M110";
lineNb=1; lineNb=1;
//close any ongoing upload and get current line number //close any ongoing upload and get current line number
if(!sendLine2Serial (command,1, &lineNb)){ if(!sendLine2Serial (command,-1, &lineNb)){
//it can failed for repetier //it can failed for repetier
if ( ( CONFIG::GetFirmwareTarget() == REPETIER4DV) || (CONFIG::GetFirmwareTarget() == REPETIER) ) { if ( ( CONFIG::GetFirmwareTarget() == REPETIER4DV) || (CONFIG::GetFirmwareTarget() == REPETIER) ) {
if(!sendLine2Serial (command,-1, NULL)){ if(!sendLine2Serial (command,1, NULL)){
log_esp3d("Upload start failed"); log_esp3d("Upload start failed");
web_interface->_upload_status= UPLOAD_STATUS_FAILED; web_interface->_upload_status= UPLOAD_STATUS_FAILED;
pushError(ESP_ERROR_START_UPLOAD, "Upload rejected"); pushError(ESP_ERROR_START_UPLOAD, "Upload rejected");