mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 12:19:02 +08:00
Update syncwebserver.cpp
Fix typo
This commit is contained in:
parent
442d95b151
commit
ccd699fea6
@ -76,7 +76,7 @@ WebSocketsServer * socket_server;
|
|||||||
#define ESP_ERROR_START_UPLOAD 12
|
#define ESP_ERROR_START_UPLOAD 12
|
||||||
|
|
||||||
|
|
||||||
void pushError(int code, const char * st, bool web_error = 500, uint16_t timeout = 1000){
|
void pushError(int code, const char * st, uint16_t web_error = 500, uint16_t timeout = 1000){
|
||||||
if (socket_server && st) {
|
if (socket_server && st) {
|
||||||
String s = "ERROR:" + String(code) + ":";
|
String s = "ERROR:" + String(code) + ":";
|
||||||
s+=st;
|
s+=st;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user