mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-16 07:35:58 +08:00
Move FW version anf Git link to config.h
Move FW version anf Git link to config.h
This commit is contained in:
parent
b71cab9830
commit
95ffb53b3e
@ -22,6 +22,9 @@
|
|||||||
#define CONFIG_h
|
#define CONFIG_h
|
||||||
|
|
||||||
#include <Arduino.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
|
//pin used to reset setting
|
||||||
#define RESET_CONFIG_PIN 2
|
#define RESET_CONFIG_PIN 2
|
||||||
|
@ -28,9 +28,6 @@
|
|||||||
#ifndef ARDUINO_ESP8266_ESP01
|
#ifndef ARDUINO_ESP8266_ESP01
|
||||||
#error Oops! Make sure you have 'ESP8266' selected from the 'Tools -> Boards' menu.
|
#error Oops! Make sure you have 'ESP8266' selected from the 'Tools -> Boards' menu.
|
||||||
#endif
|
#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 ???
|
//includes: why EEPROM.h need to be there ???
|
||||||
#include <EEPROM.h>
|
#include <EEPROM.h>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -78,7 +75,6 @@ void setup() {
|
|||||||
//start interfaces
|
//start interfaces
|
||||||
web_interface.WebServer.begin();
|
web_interface.WebServer.begin();
|
||||||
data_interface.WebServer.begin();
|
data_interface.WebServer.begin();
|
||||||
CONFIG::print_config();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user