8000 fix #539 (NODEBUG_WEBSOCKETS warning) · genemyers/arduinoWebSockets@a71a480 · GitHub
Skip to content

Commit a71a480

Browse files
authored
fix Links2004#539 (NODEBUG_WEBSOCKETS warning)
fix warning when using NODEBUG_WEBSOCKETS as compiler option.
1 parent 1e271b5 commit a71a480

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WebSockets.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@
5050

5151
#ifndef DEBUG_WEBSOCKETS
5252
#define DEBUG_WEBSOCKETS(...)
53+
#ifndef NODEBUG_WEBSOCKETS
5354
#define NODEBUG_WEBSOCKETS
5455
#endif
56+
#endif
5557

5658
#if defined(ESP8266) || defined(ESP32)
5759

0 commit comments

Comments
 (0)
0