removed double check

This commit is contained in:
Martijn Scheepers
2021-03-23 09:52:50 +01:00
parent 799ff02dca
commit a6a3a9804f

View File

@@ -11,7 +11,7 @@
void setupSSDP()
{
if (getEeprom()->ssdp == true)
if (getEeprom()->ssdp)
{
#ifdef DEBUG_MSG
Serial.printf("Setting up SSDP...\n");
@@ -37,7 +37,7 @@ void setupSSDP()
void startSSDP()
{
if (getEeprom()->ssdp == true)
if (getEeprom()->ssdp)
{
#ifdef DEBUG_MSG
Serial.printf("Starting SSDP...\n");
@@ -48,7 +48,7 @@ void startSSDP()
void startLLMNR()
{
if (getEeprom()->use_llmnr == true)
if (getEeprom()->use_llmnr)
{
#ifdef DEBUG_MSG
Serial.printf("Starting LLMNR...\n");
@@ -60,7 +60,7 @@ void startLLMNR()
void startMDNS()
{
if (getEeprom()->use_mdns == true)
if (getEeprom()->use_mdns)
{
#ifdef DEBUG_MSG
Serial.printf("Starting mDNS...\n");
@@ -72,7 +72,7 @@ void startMDNS()
void updateMDNS()
{
if (getEeprom()->use_mdns == true)
if (getEeprom()->use_mdns)
{
MDNS.update();
}