Skip to content

Commit f6f4468

Browse files
committed
NTP: remove spaces
1 parent b135201 commit f6f4468

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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();
@@ -81,7 +81,7 @@ unsigned long NTPUtils::getTime(UDP & udp)
8181
void NTPUtils::sendNTPpacket(UDP & udp)
8282
{
8383
uint8_t ntp_packet_buf[NTP_PACKET_SIZE] = {0};
84-
84+
8585
ntp_packet_buf[0] = 0b11100011;
8686
ntp_packet_buf[1] = 0;
8787
ntp_packet_buf[2] = 6;
@@ -90,7 +90,7 @@ void NTPUtils::sendNTPpacket(UDP & udp)
9090
ntp_packet_buf[13] = 0x4E;
9191
ntp_packet_buf[14] = 49;
9292
ntp_packet_buf[15] = 52;
93-
93+
9494
udp.beginPacket(NTP_TIME_SERVER, NTP_TIME_SERVER_PORT);
9595
udp.write(ntp_packet_buf, NTP_PACKET_SIZE);
9696
udp.endPacket();

0 commit comments

Comments
 (0)