224-12-1402
This commit is contained in:
parent
318511d998
commit
20df16be9d
14
src/main.cpp
14
src/main.cpp
|
@ -460,18 +460,6 @@ bool getNTPtime(int sec) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void showTime(tm localTime) {
|
void showTime(tm localTime) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Serial.printf(
|
Serial.printf(
|
||||||
"%04d-%02d-%02d %02d:%02d:%02d, day %d, %s time\n",
|
"%04d-%02d-%02d %02d:%02d:%02d, day %d, %s time\n",
|
||||||
localTime.tm_year + 1900,
|
localTime.tm_year + 1900,
|
||||||
|
@ -483,7 +471,7 @@ void showTime(tm localTime) {
|
||||||
(localTime.tm_wday > 0 ? localTime.tm_wday : 7 ),
|
(localTime.tm_wday > 0 ? localTime.tm_wday : 7 ),
|
||||||
(localTime.tm_isdst == 1 ? "summer" : "standard")
|
(localTime.tm_isdst == 1 ? "summer" : "standard")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void zeigeZeit(tm localTime, int x = 0, int y = 0){
|
void zeigeZeit(tm localTime, int x = 0, int y = 0){
|
||||||
sprintf(szZeit,"%02d:%02d:%02d",
|
sprintf(szZeit,"%02d:%02d:%02d",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user