UdpNtpClient example: removed wrong return type

This commit is contained in:
Cristian Maglie 2015-11-05 19:10:12 +01:00
parent 67c24d6b40
commit d8dc54afc4
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ void loop() {
}
// 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
memset(packetBuffer, 0, NTP_PACKET_SIZE);
// Initialize values needed to form NTP request