mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 05:20:40 +08:00
Add M21 for printer without SD detecttion
This commit is contained in:
parent
54b543d7ab
commit
3e38795c76
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
//version and sources location
|
||||
#define FW_VERSION "2.0.0.c22"
|
||||
#define FW_VERSION "2.0.0.c23"
|
||||
#define REPOSITORY "https://github.com/luc-github/ESP3D"
|
||||
|
||||
//Customize ESP3D ////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1194,6 +1194,13 @@ void SDFile_serial_upload()
|
||||
return;
|
||||
}
|
||||
}
|
||||
//Mount SD card
|
||||
command = "M21";
|
||||
if(!sendLine2Serial (command,-1, NULL)){
|
||||
LOG("Mounting SD failed")
|
||||
web_interface->_upload_status= UPLOAD_STATUS_FAILED;
|
||||
return;
|
||||
}
|
||||
//Reset line numbering
|
||||
if(!sendLine2Serial (resetcmd,-1, NULL)){
|
||||
LOG("Reset Numbering failed")
|
||||
|
Loading…
x
Reference in New Issue
Block a user