From 95ffb53b3e27591f719b81b8219309a7727adc98 Mon Sep 17 00:00:00 2001 From: luc lebosse Date: Mon, 20 Apr 2015 20:37:49 +0800 Subject: [PATCH] Move FW version anf Git link to config.h Move FW version anf Git link to config.h --- esp8266/config.h | 3 +++ esp8266/esp8266.ino | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) 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(); }