Fix again same stupid error orz

This commit is contained in:
Luc 2020-10-07 19:29:39 +02:00
parent 4124fa9148
commit 901c13be6f
2 changed files with 2 additions and 2 deletions

View File

@ -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) + ":";

View File

@ -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;