Skip to content

Commit

Permalink
Fix ESP32 KNX UDP multicastpackage
Browse files Browse the repository at this point in the history
Fix ESP32 KNX UDP multicastpackage (#9811)
  • Loading branch information
arendst committed Nov 17, 2020
1 parent a66686d commit 3d44203
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/libesp32/ESP32-to-ESP8266-compat/src/ESP8266WiFi.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ class WiFiUDP32 : public WiFiUDP
}
void beginPacketMulticast(IPAddress multicast, uint16_t port, IPAddress interfaceAddr)
{

if (0 == WiFiUDP::beginMulticastPacket()) {
WiFiUDP::beginMulticast(multicast, port);
}
WiFiUDP::beginMulticastPacket();
}
};

Expand Down

0 comments on commit 3d44203

Please sign in to comment.