Browse Source

Allow to pass TELNET_ONLY_AP as a build flag

fastled
Xose Pérez 7 years ago
parent
commit
d8dea9541a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      code/espurna/config/general.h

+ 3
- 0
code/espurna/config/general.h View File

@ -17,7 +17,10 @@
#define TELNET_SUPPORT 1 // Enable telnet support by default
#endif
#ifndef TELNET_ONLY_AP
#define TELNET_ONLY_AP 1 // By default, allow only connections via AP interface
#endif
#define TELNET_PORT 23 // Port to listen to telnet clients
#define TELNET_MAX_CLIENTS 1 // Max number of concurrent telnet clients


Loading…
Cancel
Save