Update syncwebserver.cpp

Fix typo
This commit is contained in:
Luc 2021-02-08 08:50:17 +01:00
parent 442d95b151
commit ccd699fea6

View File

@ -76,7 +76,7 @@ WebSocketsServer * socket_server;
#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) {
String s = "ERROR:" + String(code) + ":";
s+=st;