mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 15:25:57 +08:00
Add some sanity check
This commit is contained in:
parent
cbd369165d
commit
86cd23cfea
@ -3352,7 +3352,7 @@ void handle_web_command(){
|
||||
LOG("\r\n")
|
||||
}
|
||||
#endif
|
||||
String cmd;
|
||||
String cmd = "";
|
||||
int count ;
|
||||
if (web_interface->WebServer.hasArg("plain") || web_interface->WebServer.hasArg("commandText")){
|
||||
if (web_interface->WebServer.hasArg("plain")) cmd = web_interface->WebServer.arg("plain");
|
||||
@ -3480,6 +3480,7 @@ void handle_web_command(){
|
||||
web_interface->blockserial = false;
|
||||
LOG("Release Serial\r\n")
|
||||
}
|
||||
else web_interface->WebServer.send(200,"text/plain","Serial is busy, retry later!");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user