mirror of
https://github.com/arendst/Tasmota.git
synced 2026-03-10 17:28:14 +01:00
adapt GPS-stuff for ESP32
This commit is contained in:
@@ -87,7 +87,7 @@ bool NtpServer::processOneRequest(uint32_t utc, uint32_t millisecs)
|
||||
packet.swapEndian();
|
||||
|
||||
timeServerPort_.beginPacket(timeServerPort_.remoteIP(), timeServerPort_.remotePort());
|
||||
timeServerPort_.write(packet.packet(), NtpPacket::PACKET_SIZE);
|
||||
timeServerPort_.write((const uint8_t *)packet.packet(), NtpPacket::PACKET_SIZE);
|
||||
timeServerPort_.endPacket();
|
||||
|
||||
processed = true;
|
||||
|
||||
Reference in New Issue
Block a user