diff --git a/esp8266/config.h b/esp8266/config.h index 0309bb65..0ae55820 100644 --- a/esp8266/config.h +++ b/esp8266/config.h @@ -22,6 +22,9 @@ #define CONFIG_h #include +//version and sources location +#define FW_VERSION "V0.1" +#define REPOSITORY "https://github.com/luc-github/ESP8266" //pin used to reset setting #define RESET_CONFIG_PIN 2 diff --git a/esp8266/esp8266.ino b/esp8266/esp8266.ino index 9f5c065b..e691bd33 100644 --- a/esp8266/esp8266.ino +++ b/esp8266/esp8266.ino @@ -28,9 +28,6 @@ #ifndef ARDUINO_ESP8266_ESP01 #error Oops! Make sure you have 'ESP8266' selected from the 'Tools -> Boards' menu. #endif -//version and sources location -#define FW_VERSION "0.1" -#define REPOSITORY "https://github.com/luc-github/ESP8266" //includes: why EEPROM.h need to be there ??? #include #include "config.h" @@ -78,7 +75,6 @@ void setup() { //start interfaces web_interface.WebServer.begin(); data_interface.WebServer.begin(); - CONFIG::print_config(); }