mirror of
https://github.com/jeelabs/esp-link.git
synced 2026-02-20 02:31:19 +01:00
Re-enable syslog by default and fix compilation issue
This commit is contained in:
2
Makefile
2
Makefile
@@ -101,7 +101,7 @@ LED_SERIAL_PIN ?= 14
|
||||
# --------------- esp-link modules config options ---------------
|
||||
|
||||
# Optional Modules mqtt
|
||||
MODULES ?= mqtt rest #syslog
|
||||
MODULES ?= mqtt rest syslog
|
||||
|
||||
# --------------- esphttpd config options ---------------
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ function displayServices(data) {
|
||||
if (data.syslog_host !== undefined) {
|
||||
$("#Syslog-form").removeAttribute("hidden");
|
||||
} else {
|
||||
# syslog disabled...
|
||||
// syslog disabled...
|
||||
$("#Syslog-form").parentNode.setAttribute("hidden", "");
|
||||
}
|
||||
$("#SNTP-form").removeAttribute("hidden");
|
||||
|
||||
Reference in New Issue
Block a user