Skip to content

Commit b3f2282

Browse files
committed
NTPUtils: fix whitespaces
1 parent 8b6ff40 commit b3f2282

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/utility/time/NTPUtils.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ unsigned long NTPUtils::getTime(UDP & udp)
5454
udp.stop();
5555
return 0;
5656
}
57-
57+
5858
uint8_t ntp_packet_buf[NTP_PACKET_SIZE];
5959
udp.read(ntp_packet_buf, NTP_PACKET_SIZE);
6060
udp.stop();
@@ -75,7 +75,7 @@ unsigned long NTPUtils::getTime(UDP & udp)
7575
void NTPUtils::sendNTPpacket(UDP & udp)
7676
{
7777
uint8_t ntp_packet_buf[NTP_PACKET_SIZE] = {0};
78-
78+
7979
ntp_packet_buf[0] = 0b11100011;
8080
ntp_packet_buf[1] = 0;
8181
ntp_packet_buf[2] = 6;
@@ -84,7 +84,7 @@ void NTPUtils::sendNTPpacket(UDP & udp)
8484
ntp_packet_buf[13] = 0x4E;
8585
ntp_packet_buf[14] = 49;
8686
ntp_packet_buf[15] = 52;
87-
87+
8888
udp.beginPacket(NTP_TIME_SERVER, NTP_TIME_SERVER_PORT);
8989
udp.write(ntp_packet_buf, NTP_PACKET_SIZE);
9090
udp.endPacket();

0 commit comments

Comments
 (0)