mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-05 14:40:38 +08:00
Fix FORMAT message is incomplete in WebUI but ok in serial
This commit is contained in:
parent
eaae32be4d
commit
eb632b70c0
@ -41,9 +41,11 @@ bool Commands::ESP710(const char* cmd_params, level_authenticate_type auth_type,
|
||||
#endif //AUTHENTICATION_FEATURE
|
||||
{
|
||||
if (parameter == "FORMAT") {
|
||||
output->printMSG("Start Formating");
|
||||
if (output->client()!=ESP_HTTP_CLIENT) output->printMSG("Start Formating");
|
||||
else output->printLN("Start Formating");
|
||||
ESP_FileSystem::format();
|
||||
output->printMSG("Format Done");
|
||||
if (output->client()!=ESP_HTTP_CLIENT) output->printMSG("Format Done");
|
||||
else output->printLN("Format Done");
|
||||
} else {
|
||||
output->printERROR ("Invalid parameter!");
|
||||
response = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user