mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 18:00:37 +08:00
Fix typo on ESP701
This commit is contained in:
parent
5328940980
commit
982104e742
@ -106,7 +106,7 @@ bool Commands::ESP701(const char* cmd_params, level_authenticate_type auth_type,
|
|||||||
if (esp3d_gcode_host.getErrorNum()!=ERROR_NO_ERROR) {
|
if (esp3d_gcode_host.getErrorNum()!=ERROR_NO_ERROR) {
|
||||||
noError = false;
|
noError = false;
|
||||||
if(json) {
|
if(json) {
|
||||||
resp= "{\"state\":\"no stream\",\"code\":\"" + String(esp3d_gcode_host.getErrorNum()) + "\"}";
|
resp= "{\"status\":\"no stream\",\"code\":\"" + String(esp3d_gcode_host.getErrorNum()) + "\"}";
|
||||||
} else {
|
} else {
|
||||||
resp = "no stream, last error " + String(esp3d_gcode_host.getErrorNum());
|
resp = "no stream, last error " + String(esp3d_gcode_host.getErrorNum());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user