removed double check
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user