added version, updated WiFiManager
This commit is contained in:
parent
0f1b814d61
commit
3031958933
4
.gitmodules
vendored
4
.gitmodules
vendored
|
|
@ -13,8 +13,8 @@
|
|||
branch = handle-empty-date-or-time
|
||||
[submodule "libraries/WiFiManager"]
|
||||
path = libraries/WiFiManager
|
||||
url = https://github.com/liebman/WiFiManager.git
|
||||
branch = stdfunc
|
||||
url = https://github.com/tzapu/WiFiManager.git
|
||||
branch = development
|
||||
[submodule "libraries/esp8266-oled-ssd1306"]
|
||||
path = libraries/esp8266-oled-ssd1306
|
||||
url = https://github.com/liebman/esp8266-oled-ssd1306.git
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@
|
|||
*/
|
||||
|
||||
#include "ESPNTPServer.h"
|
||||
#include "ESPNTPServerVersion.h"
|
||||
|
||||
#include "Log.h"
|
||||
#include "DLogPrintWriter.h"
|
||||
#include "DLogSyslogWriter.h"
|
||||
|
|
@ -181,7 +183,7 @@ void setup()
|
|||
if (syslog_host != nullptr && strlen(syslog_host) > 0 && syslog_port != 0)
|
||||
{
|
||||
dlog.info(SETUP_TAG, "enabling syslog: '%s:%u'", syslog_host, syslog_port);
|
||||
dlog.begin(new DLogSyslogWriter(syslog_host, syslog_port, devicename));
|
||||
dlog.begin(new DLogSyslogWriter(syslog_host, syslog_port, devicename, ESPNTP_SERVER_VERSION));
|
||||
}
|
||||
const char* url = wifi.getOTAURL();
|
||||
const char* fp = wifi.getOTAFP();
|
||||
|
|
|
|||
14
ESPNTPServer/ESPNTPServerVersion.h
Normal file
14
ESPNTPServer/ESPNTPServerVersion.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* ESPNTPServerVersion.h
|
||||
*
|
||||
* Created on: Jun 17, 2018
|
||||
* Author: chris.l
|
||||
*/
|
||||
|
||||
#ifndef ESPNTPSERVERVERSION_H_
|
||||
#define ESPNTPSERVERVERSION_H_
|
||||
|
||||
const char* ESPNTP_SERVER_VERSION = "1.0.0";
|
||||
|
||||
|
||||
#endif /* ESPNTPSERVERVERSION_H_ */
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit d9f3088cea0e4927b7d307d4bda2ff32907615e9
|
||||
Subproject commit 94115006f6093695ac9ae007efa868ef31fe45d5
|
||||
Loading…
Reference in New Issue
Block a user