From 596567b10e24504457d79678b29372be04f7d23f Mon Sep 17 00:00:00 2001 From: Lazar Obradovic Date: Wed, 11 Apr 2018 00:46:42 +0200 Subject: [PATCH] webmode should be in types.h --- code/espurna/config/general.h | 3 --- code/espurna/config/types.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index 05889d89..9c851130 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -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 diff --git a/code/espurna/config/types.h b/code/espurna/config/types.h index eabbff0d..9ab72171 100644 --- a/code/espurna/config/types.h +++ b/code/espurna/config/types.h @@ -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 // -----------------------------------------------------------------------------