Skip to content

Commit d8dc54a

Browse files
committed
UdpNtpClient example: removed wrong return type
1 parent 67c24d6 commit d8dc54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.ino

Lines changed: 1 addition & 1 deletion
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)