Skip to content

Commit 00453f1

Browse files
committed
cleanup
1 parent d4bf122 commit 00453f1

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

libraries/ESP8266mDNS/src/LEAmDNS2Host_Transfer.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,6 @@ bool clsLEAMDNSHost::_sendMessage(netif* pNetIf, clsLEAMDNSHost::clsSendParamete
116116
(m_pUDPContext->sendTimeout(ipRemote, m_pUDPContext->getRemotePort(), clsConsts::u32SendTimeoutMs)) /*&&
117117
(Serial.println("Did send UC"), true)*/);
118118
DEBUG_EX_ERR(if (!bResult) DEBUG_OUTPUT.printf_P(PSTR("%s _sendMessage (V4): FAILED!\n"), _DH()););
119-
#if 0
120-
if ((clsConsts::u32SendCooldown) &&
121-
1)//(can_yield()))
122-
{
123-
delay(clsConsts::u32SendCooldown);
124-
}
125-
#endif
126119
}
127120
else
128121
{
@@ -186,13 +179,6 @@ bool clsLEAMDNSHost::_sendMessage_Multicast(netif* pNetIf, clsLEAMDNSHost::clsSe
186179
(m_pUDPContext->setMulticastInterface(0), true) /*&&
187180
(Serial.println("Did send MC V4"), true)*/);
188181
DEBUG_EX_ERR(if (!bIPv4Result) DEBUG_OUTPUT.printf_P(PSTR("%s _sendMessage_Multicast (V4): FAILED!\n"), _DH()););
189-
#if 0
190-
if ((clsConsts::u32SendCooldown) &&
191-
1)//(can_yield()))
192-
{
193-
delay(clsConsts::u32SendCooldown);
194-
}
195-
#endif
196182
}
197183
#endif
198184

@@ -213,13 +199,6 @@ bool clsLEAMDNSHost::_sendMessage_Multicast(netif* pNetIf, clsLEAMDNSHost::clsSe
213199
(m_pUDPContext->setMulticastInterface(0), true) /*&&
214200
(Serial.println("Did send MC V6"), true)*/);
215201
DEBUG_EX_ERR(if (!bIPv6Result) DEBUG_OUTPUT.printf_P(PSTR("%s _sendMessage_Multicast (IPv6): FAILED! (%s, %s, %s)\n"), _DH(), (_getResponderIPAddress(pNetIf, enuIPProtocolType::V6).isSet() ? "1" : "0"), (bPrepareMessage ? "1" : "0"), (bUDPContextSend ? "1" : "0")););
216-
#if 0
217-
if ((clsConsts::u32SendCooldown) &&
218-
1)//(can_yield()))
219-
{
220-
delay(clsConsts::u32SendCooldown);
221-
}
222-
#endif
223202
}
224203
#endif
225204

0 commit comments

Comments
 (0)