ENABLE_AVAHI is not included in WebServer

This commit is contained in:
Murat
2020-09-07 21:34:14 +02:00
parent 8bb5833250
commit 9204f8a313
4 changed files with 32 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
#include <stdexcept>
// project includes
#include "HyperionConfig.h"
#include <jsonserver/JsonServer.h>
#include "JsonClientConnection.h"
@@ -49,6 +50,7 @@ void JsonServer::start()
return;
}
Info(_log, "Started on port %d", _port);
#ifdef ENABLE_AVAHI
if(_serviceRegister == nullptr)
{