mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-09 22:01:14 +02:00
fix webUI crashing
This commit is contained in:
@@ -1180,7 +1180,6 @@ void Web_Server::WebUpdateUpload ()
|
||||
if(upload.status == UPLOAD_FILE_START) {
|
||||
grbl_send(CLIENT_ALL,"[MSG:Update Firmware]\r\n");
|
||||
_upload_status= UPLOAD_STATUS_ONGOING;
|
||||
uint32_t maxSketchSpace = 0;
|
||||
String sizeargname = upload.filename + "S";
|
||||
if (_webserver->hasArg (sizeargname.c_str()) ) {
|
||||
maxSketchSpace = _webserver->arg (sizeargname).toInt();
|
||||
|
Reference in New Issue
Block a user