Browse Source

webmode should be in types.h

rfm69
Lazar Obradovic 6 years ago
parent
commit
596567b10e
2 changed files with 4 additions and 3 deletions
  1. +0
    -3
      code/espurna/config/general.h
  2. +4
    -0
      code/espurna/config/types.h

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

@ -276,9 +276,6 @@
// Requires ASYNC_TCP_SSL_ENABLED to 1 and ESP8266 Arduino Core 2.4.0
#define WEB_SSL_ENABLED 0 // Use HTTPS web interface
#define WEB_MODE_NORMAL 0
#define WEB_MODE_PASSWORD 1
#define WEB_USERNAME "admin" // HTTP username
#define WEB_FORCE_PASS_CHANGE 1 // Force the user to change the password if default one
#define WEB_PORT 80 // HTTP port


+ 4
- 0
code/espurna/config/types.h View File

@ -82,6 +82,10 @@
#define UI_TAG_CHECKBOX 1
#define UI_TAG_SELECT 2
#define WEB_MODE_NORMAL 0
#define WEB_MODE_PASSWORD 1
// -----------------------------------------------------------------------------
// LIGHT
// -----------------------------------------------------------------------------


Loading…
Cancel
Save