Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
76f0a80f
Unverified
Commit
76f0a80f
authored
May 18, 2021
by
lbernstone
Committed by
GitHub
May 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed second NTP server from configTime. SNTP only uses one (#5127)
parent
5bfbcfc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/HTTPClient/examples/BasicHttpsClient/BasicHttpsClient.ino
...HTTPClient/examples/BasicHttpsClient/BasicHttpsClient.ino
+1
-1
No files found.
libraries/HTTPClient/examples/BasicHttpsClient/BasicHttpsClient.ino
View file @
76f0a80f
...
...
@@ -56,7 +56,7 @@ const char* rootCACertificate = \
// Not sure if WiFiClientSecure checks the validity date of the certificate.
// Setting clock just to be sure...
void
setClock
()
{
configTime
(
0
,
0
,
"pool.ntp.org"
,
"time.nist.gov"
);
configTime
(
0
,
0
,
"pool.ntp.org"
);
Serial
.
print
(
F
(
"Waiting for NTP time sync: "
));
time_t
nowSecs
=
time
(
nullptr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment