Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
d2b43f65
Commit
d2b43f65
authored
Apr 20, 2021
by
Eric Duminil
Browse files
Forgotten NTP command
parent
b71eebdd
Pipeline
#2942
passed with stage
in 1 minute and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/util.cpp
View file @
d2b43f65
...
...
@@ -53,6 +53,7 @@ namespace ntp {
Serial
.
println
(
time
);
if
(
connected_at_least_once
)
{
Serial
.
println
(
F
(
"NTP update already happened. Not changing anything."
));
return
;
}
Serial
.
print
(
F
(
"Setting UNIX time to : "
));
Serial
.
println
(
unix_seconds
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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