Commit f9bfce6d authored by Eric Duminil's avatar Eric Duminil
Browse files

HTTP -> AMPEL_HTTP

parent d0483949
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#ifdef LORAWAN #ifdef LORAWAN
# include "lorawan.h" # include "lorawan.h"
#endif #endif
#ifdef HTTP #ifdef AMPEL_HTTP
# include "web_server.h" # include "web_server.h"
#endif #endif
......
...@@ -82,7 +82,7 @@ void setup() { ...@@ -82,7 +82,7 @@ void setup() {
Serial.println(WiFi.status()); Serial.println(WiFi.status());
if (WiFi.status() == WL_CONNECTED) { if (WiFi.status() == WL_CONNECTED) {
#ifdef HTTP #ifdef AMPEL_HTTP
web_server::initialize(); web_server::initialize();
#endif #endif
...@@ -186,7 +186,7 @@ void keepServicesAlive() { ...@@ -186,7 +186,7 @@ void keepServicesAlive() {
MDNS.update(); MDNS.update();
#endif #endif
ntp::update(); // NTP client has its own timer. It will connect to NTP server every 60s. ntp::update(); // NTP client has its own timer. It will connect to NTP server every 60s.
#ifdef HTTP #ifdef AMPEL_HTTP
web_server::update(); web_server::update();
#endif #endif
#ifdef AMPEL_MQTT #ifdef AMPEL_MQTT
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
* available at http://local_ip, with user HTTP_USER and password HTTP_PASSWORD * available at http://local_ip, with user HTTP_USER and password HTTP_PASSWORD
*/ */
# define HTTP // Comment or remove this line if you want to disable HTTP webserver # define AMPEL_HTTP // Comment or remove this line if you want to disable HTTP webserver
// Define empty strings in order to disable authentication, or remove the constants altogether. // Define empty strings in order to disable authentication, or remove the constants altogether.
# define HTTP_USER "co2ampel" # define HTTP_USER "co2ampel"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment