Move FW version anf Git link to config.h

Move FW version anf Git link to config.h
This commit is contained in:
luc lebosse 2015-04-20 20:37:49 +08:00
parent b71cab9830
commit 95ffb53b3e
2 changed files with 3 additions and 4 deletions

View File

@ -22,6 +22,9 @@
#define CONFIG_h
#include <Arduino.h>
//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

View File

@ -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 <EEPROM.h>
#include "config.h"
@ -78,7 +75,6 @@ void setup() {
//start interfaces
web_interface.WebServer.begin();
data_interface.WebServer.begin();
CONFIG::print_config();
}