Skip to content

Commit 9cb0581

Browse files
committed
UdpNtpClient example: removed wrong return type
1 parent 8d55f4e commit 9cb0581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/UdpNtpClient/UdpNtpClient.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void loop() {
109109
}
110110

111111
// send an NTP request to the time server at the given address
112-
unsigned long sendNTPpacket(char* address) {
112+
void sendNTPpacket(char* address) {
113113
// set all bytes in the buffer to 0
114114
memset(packetBuffer, 0, NTP_PACKET_SIZE);
115115
// Initialize values needed to form NTP request

0 commit comments

Comments
 (0)