Skip to content

Commit

Permalink
Remove erroneous comment re: packets
Browse files Browse the repository at this point in the history
The comment directs the reader to find a URL "above" for more information, but there is no such URL anywhere in the source code, and never was even when the comment was introduced to the repository on the first commit.
  • Loading branch information
per1234 committed May 21, 2021
1 parent f8f3172 commit 1f99636
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions NTPClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ void NTPClient::sendNTPPacket() {
// set all bytes in the buffer to 0
memset(this->_packetBuffer, 0, NTP_PACKET_SIZE);
// Initialize values needed to form NTP request
// (see URL above for details on the packets)

this->_packetBuffer[0] = 0b11100011; // LI, Version, Mode
this->_packetBuffer[1] = 0; // Stratum, or type of clock
this->_packetBuffer[2] = 6; // Polling Interval
Expand Down

0 comments on commit 1f99636

Please sign in to comment.