Made it compile
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user