adapt GPS-stuff for ESP32

This commit is contained in:
Staars
2020-04-13 16:20:49 +02:00
parent 16ca5cb103
commit 5588d1dda0
4 changed files with 23 additions and 2 deletions

View File

@@ -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;