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

Now compiles again

parent 4ea6dfa2
#include "web_config.h"
#if defined(ESP8266)
# include <ESP8266WebServer.h>
#elif defined(ESP32)
# include <WebServer.h>
#endif
#include "config.h"
#include "util.h"
#include "sensor_console.h"
#include <IotWebConf.h>
#include <IotWebConfOptionalGroup.h>
namespace config {
using namespace iotwebconf;
TextTParameter<STRING_LEN> stringParam =
......
#ifndef AMPEL_WEB_CONFIG_H_
#define AMPEL_WEB_CONFIG_H_
#define STRING_LEN 64
#if defined(ESP8266)
# include <ESP8266WebServer.h>
#elif defined(ESP32)
# include <WebServer.h>
#endif
#define STRING_LEN 64
#include "config.h"
#include <IotWebConf.h>
#include <IotWebConfTParameter.h>
#include <IotWebConfOptionalGroup.h>
#include "util.h"
//#include "sensor_console.h"
namespace config {
extern iotwebconf::TextTParameter<STRING_LEN> stringParam;
......
#include "web_server.h"
#if defined(ESP8266)
# include <ESP8266WebServer.h>
# include <ESP8266mDNS.h> //allows sensor to be seen as SENSOR_ID.local, from the local network. For example : espd03cc5.local
#elif defined(ESP32)
# include <WebServer.h>
# include <ESPmDNS.h>
#endif
#include "web_config.h"
#include "config.h"
#include "util.h"
......@@ -24,9 +16,17 @@
#ifdef AMPEL_LORAWAN
# include "lorawan.h"
#endif
#include <IotWebConf.h>
#include <IotWebConfUsing.h> // This loads aliases for easier class names.
#include <IotWebConfTParameter.h>
#if defined(ESP8266)
# include <ESP8266WebServer.h>
# include <ESP8266mDNS.h> //allows sensor to be seen as SENSOR_ID.local, from the local network. For example : espd03cc5.local
#elif defined(ESP32)
# include <WebServer.h>
# include <ESPmDNS.h>
#endif
namespace config {
// Values should be defined in config.h
......
Markdown is supported
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