mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
UdpNtpClient example: removed wrong return type
This commit is contained in:
parent
67c24d6b40
commit
d8dc54afc4
@ -109,7 +109,7 @@ void loop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send an NTP request to the time server at the given address
|
// send an NTP request to the time server at the given address
|
||||||
unsigned long sendNTPpacket(char* address) {
|
void sendNTPpacket(char* address) {
|
||||||
// set all bytes in the buffer to 0
|
// set all bytes in the buffer to 0
|
||||||
memset(packetBuffer, 0, NTP_PACKET_SIZE);
|
memset(packetBuffer, 0, NTP_PACKET_SIZE);
|
||||||
// Initialize values needed to form NTP request
|
// Initialize values needed to form NTP request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user