From 018de56a2a7c858d1a217ff2de6b50dd1d628e3d Mon Sep 17 00:00:00 2001 From: Jens True Date: Tue, 26 Mar 2019 10:24:24 +0100 Subject: [PATCH] Made it compile --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5001605..a15b7a0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,9 +58,9 @@ void onHomieEvent(const HomieEvent& event) { case HomieEventType::WIFI_CONNECTED: // Do whatever you want when Wi-Fi is connected in normal mode syslog.deviceHostname(Homie.getConfiguration().name); - syslog.appName(Interface::get().firmware.name); + syslog.appName("deskcontrol"); syslog.defaultPriority(LOG_ERR); - syslog.log(LOG_INFO, "WiFi Connected, software version: %s", Interface::get().firmware.version); + syslog.log(LOG_INFO, "WiFi Connected, software version: %s", "1.0"); // You can use event.ip, event.gateway, event.mask break; case HomieEventType::WIFI_DISCONNECTED: