From 389e1b6ad38d287224d737e3e4db01af7825a392 Mon Sep 17 00:00:00 2001 From: Hasenradball Date: Sun, 24 Nov 2024 18:40:31 +0100 Subject: [PATCH] typo corrections --- examples/timeMESZ/timeMESZ.ino | 2 +- lib/cMESZ/cMESZ.cpp | 4 ++-- lib/cMESZ/cMESZ.inl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/timeMESZ/timeMESZ.ino b/examples/timeMESZ/timeMESZ.ino index 79e5c4b..943f779 100644 --- a/examples/timeMESZ/timeMESZ.ino +++ b/examples/timeMESZ/timeMESZ.ino @@ -35,7 +35,7 @@ void setup() { while (!MESZ::get_time_synchronized()) { yield(); } - Serial.println("Time successfully syncronized!\n"); + Serial.println("Time successfully synchronized!\n"); MESZ::set_time_synchronized_false(); auto syncTime_ms = sntp_get_sync_interval(); Serial.printf("the sntp sync interval is set to : %ld ms / %ld s / %ld min / %ld h", \ diff --git a/lib/cMESZ/cMESZ.cpp b/lib/cMESZ/cMESZ.cpp index dbf53c0..2fbf9a7 100644 --- a/lib/cMESZ/cMESZ.cpp +++ b/lib/cMESZ/cMESZ.cpp @@ -155,7 +155,7 @@ int MESZ::setUnixTime(timeval * tv) { } /** - * @brief print time in formated manner ("2001-08-23 14:55:02") + * @brief print time in formatted manner ("2001-08-23 14:55:02") * */ void MESZ::showTime(void) { @@ -168,7 +168,7 @@ void MESZ::showTime(void) { /** * @brief function to call stftime for local time * - * @param ptrtimestr pointer wher to save the time string + * @param ptrtimestr pointer where to save the time string * @param buffersize buffer size of time string buffer * @param timeformat format specifier */ diff --git a/lib/cMESZ/cMESZ.inl b/lib/cMESZ/cMESZ.inl index d827cd8..de0cd31 100644 --- a/lib/cMESZ/cMESZ.inl +++ b/lib/cMESZ/cMESZ.inl @@ -134,7 +134,7 @@ inline char * MESZ::get_asctime(void) { } /** - * @brief get flag isdst -> if summertime is aktive + * @brief get flag isdst -> if summertime is active * * @return tm.tm_isdst */