mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-03 00:10:40 +08:00
Fix again same stupid error orz
This commit is contained in:
parent
4124fa9148
commit
901c13be6f
@ -146,7 +146,7 @@ bool HTTP_Server::StreamSDFile(const char* filename, const char * contentType)
|
||||
}
|
||||
#endif //SD_DEVICE
|
||||
|
||||
void HTTP_Server::pushError(int code, const char * st, uint8_t web_error, uint16_t timeout)
|
||||
void HTTP_Server::pushError(int code, const char * st, uint16_t web_error, uint16_t timeout)
|
||||
{
|
||||
if (websocket_terminal_server.started() && st) {
|
||||
String s = "ERROR:" + String(code) + ":";
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
return _port;
|
||||
}
|
||||
private:
|
||||
static void pushError(int code, const char * st, uint8_t web_error = 500, uint16_t timeout = 1000);
|
||||
static void pushError(int code, const char * st, uint16_t web_error = 500, uint16_t timeout = 1000);
|
||||
static void cancelUpload();
|
||||
static bool _started;
|
||||
static WEBSERVER * _webserver;
|
||||
|
Loading…
x
Reference in New Issue
Block a user