merge version.h and config.h
This commit is contained in:
@@ -57,7 +57,6 @@ file(GLOB SRCFILES
|
|||||||
PreferencesKeys.h
|
PreferencesKeys.h
|
||||||
Gpio.cpp
|
Gpio.cpp
|
||||||
Logger.cpp
|
Logger.cpp
|
||||||
Version.h
|
|
||||||
# include/RTOS.h
|
# include/RTOS.h
|
||||||
lib/WiFiManager/WiFiManager.cpp
|
lib/WiFiManager/WiFiManager.cpp
|
||||||
lib/Crc16/Crc16.h
|
lib/Crc16/Crc16.h
|
||||||
|
|||||||
2
Config.h
2
Config.h
@@ -1,4 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define NUKI_HUB_VERSION "7.3"
|
||||||
|
|
||||||
#define MQTT_QOS_LEVEL 0
|
#define MQTT_QOS_LEVEL 0
|
||||||
#define MQTT_CLEAN_SESSIONS true
|
#define MQTT_CLEAN_SESSIONS true
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
#include "WebCfgServer.h"
|
#include "WebCfgServer.h"
|
||||||
#include "WebCfgServerConstants.h"
|
#include "WebCfgServerConstants.h"
|
||||||
#include "PreferencesKeys.h"
|
#include "PreferencesKeys.h"
|
||||||
#include "Version.h"
|
|
||||||
#include "hardware/WifiEthServer.h"
|
#include "hardware/WifiEthServer.h"
|
||||||
#include "Logger.h"
|
#include "Logger.h"
|
||||||
|
#include "Config.h"
|
||||||
#include <esp_task_wdt.h>
|
#include <esp_task_wdt.h>
|
||||||
|
|
||||||
WebCfgServer::WebCfgServer(NukiWrapper* nuki, NukiOpenerWrapper* nukiOpener, Network* network, EthServer* ethServer, Preferences* preferences, bool allowRestartToPortal)
|
WebCfgServer::WebCfgServer(NukiWrapper* nuki, NukiOpenerWrapper* nukiOpener, Network* network, EthServer* ethServer, Preferences* preferences, bool allowRestartToPortal)
|
||||||
@@ -449,7 +449,7 @@ void WebCfgServer::buildHtml(String& response)
|
|||||||
|
|
||||||
response.concat("<br><h3>Info</h3>\n");
|
response.concat("<br><h3>Info</h3>\n");
|
||||||
|
|
||||||
String version = nuki_hub_version;
|
String version = NUKI_HUB_VERSION;
|
||||||
|
|
||||||
response.concat("<table>");
|
response.concat("<table>");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user