Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 083f007

Browse files
Palatisme-no-dev
authored andcommitted
guard ASYNC_TCP_SSL_ENABLED (#32)
so we can enable it with build script by specifying `-DASYNC_TCP_SSL_ENABLED=1`.
1 parent 2cc9846 commit 083f007

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/async_config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#ifndef LIBRARIES_ESPASYNCTCP_SRC_ASYNC_CONFIG_H_
22
#define LIBRARIES_ESPASYNCTCP_SRC_ASYNC_CONFIG_H_
33

4+
#ifndef ASYNC_TCP_SSL_ENABLED
45
#define ASYNC_TCP_SSL_ENABLED 0
6+
#endif
7+
58
#define ASYNC_TCP_DEBUG(...) //ets_printf(__VA_ARGS__)
69
#define TCP_SSL_DEBUG(...) //ets_printf(__VA_ARGS__)
710

0 commit comments

Comments
 (0)