Skip to content

Commit c02c382

Browse files
committed
Disable Websocket Debug message in code and library
1 parent 8a2c398 commit c02c382

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

libraries/arduinoWebSockets/src/WebSockets.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#include <functional>
4141
#endif
4242

43+
#define NODEBUG_WEBSOCKETS
4344

4445
#ifndef NODEBUG_WEBSOCKETS
4546
#ifdef DEBUG_ESP_PORT

src/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020

2121
//version and sources location
22-
#define FW_VERSION "2.0.0.c21"
22+
#define FW_VERSION "2.0.0.c22"
2323
#define REPOSITORY "https://github.com/luc-github/ESP3D"
2424

2525
//Customize ESP3D ////////////////////////////////////////////////////////////////////////

src/syncwebserver.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#ifndef SYNCWEBSERVER_H
2222
#define SYNCWEBSERVER_H
2323
#include "config.h"
24+
#define NODEBUG_WEBSOCKETS
2425
#include <WebSocketsServer.h>
2526

2627
extern void handle_web_interface_root();

0 commit comments

Comments
 (0)